X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php85-pecl-yaf_3.3.7-1.el8/tests
opt
/
alt
/
tests
/
alt-php85-pecl-yaf_3.3.7-1.el8
/
tests
/
??
..
??
001.phpt
(530 B)
??
002.phpt
(2.46 KB)
??
003.phpt
(1.25 KB)
??
004.phpt
(482 B)
??
005.phpt
(939 B)
??
006.phpt
(877 B)
??
007.phpt
(1.75 KB)
??
008.phpt
(1.49 KB)
??
009.phpt
(754 B)
??
010.phpt
(13.36 KB)
??
011.phpt
(786 B)
??
012.phpt
(796 B)
??
013.phpt
(2.83 KB)
??
014.phpt
(1.99 KB)
??
015.phpt
(515 B)
??
016.phpt
(891 B)
??
017.phpt
(600 B)
??
018.phpt
(2.29 KB)
??
019.phpt
(646 B)
??
020.phpt
(885 B)
??
021.phpt
(544 B)
??
022.phpt
(809 B)
??
023.phpt
(1.62 KB)
??
024.phpt
(675 B)
??
025.phpt
(1.03 KB)
??
026.phpt
(681 B)
??
027.phpt
(897 B)
??
028.phpt
(586 B)
??
029.phpt
(654 B)
??
030.phpt
(408 B)
??
031.phpt
(956 B)
??
032.phpt
(625 B)
??
033.phpt
(1.66 KB)
??
034.phpt
(549 B)
??
035.phpt
(1.01 KB)
??
036.phpt
(2.57 KB)
??
037.phpt
(1.87 KB)
??
038.phpt
(680 B)
??
039.phpt
(853 B)
??
040.phpt
(360 B)
??
041.phpt
(1.67 KB)
??
042.phpt
(868 B)
??
043.phpt
(1.03 KB)
??
044.phpt
(522 B)
??
045.phpt
(1.28 KB)
??
046.phpt
(771 B)
??
047.phpt
(850 B)
??
048.phpt
(3.27 KB)
??
049.phpt
(3.21 KB)
??
050.phpt
(1.08 KB)
??
051.phpt
(657 B)
??
052.phpt
(1.57 KB)
??
053.phpt
(1.93 KB)
??
054.phpt
(542 B)
??
055.phpt
(573 B)
??
056.phpt
(593 B)
??
057.phpt
(593 B)
??
058.phpt
(593 B)
??
059.phpt
(1.47 KB)
??
060.phpt
(1.43 KB)
??
061.phpt
(1.06 KB)
??
062.phpt
(674 B)
??
063.phpt
(1.25 KB)
??
064.phpt
(1.3 KB)
??
065.phpt
(798 B)
??
066.phpt
(692 B)
??
067.phpt
(1.46 KB)
??
068.phpt
(1.05 KB)
??
069.phpt
(768 B)
??
070.phpt
(516 B)
??
071.phpt
(278 B)
??
072.phpt
(1.89 KB)
??
073.phpt
(1.44 KB)
??
074.phpt
(722 B)
??
075.phpt
(898 B)
??
076.phpt
(994 B)
??
077.phpt
(851 B)
??
078.phpt
(1.08 KB)
??
079.phpt
(901 B)
??
080.phpt
(1.01 KB)
??
081.phpt
(354 B)
??
082.phpt
(632 B)
??
083.phpt
(958 B)
??
084.phpt
(1.35 KB)
??
085.phpt
(266 B)
??
086.phpt
(288 B)
??
087.phpt
(1.88 KB)
??
088.phpt
(1.51 KB)
??
089.phpt
(1.08 KB)
??
090.phpt
(2.11 KB)
??
091.phpt
(1.06 KB)
??
092.phpt
(904 B)
??
093.phpt
(1.08 KB)
??
094.phpt
(2.16 KB)
??
095.phpt
(1.8 KB)
??
096.phpt
(1.47 KB)
??
097.phpt
(2.5 KB)
??
098.phpt
(940 B)
??
099.phpt
(3.14 KB)
??
100.phpt
(2.24 KB)
??
101.phpt
(642 B)
??
102.phpt
(1.58 KB)
??
103.phpt
(1.39 KB)
??
104.phpt
(4.35 KB)
??
105.phpt
(1000 B)
??
106.phpt
(1.86 KB)
??
107.phpt
(1.08 KB)
??
108.phpt
(1.39 KB)
??
109.phpt
(1.54 KB)
??
110.phpt
(460 B)
??
bug61493.phpt
(480 B)
??
bug62702.phpt
(1.68 KB)
??
bug63381.phpt
(1.13 KB)
??
bug63438.phpt
(1.31 KB)
??
bug63900.phpt
(1.04 KB)
??
bug70913.phpt
(1.16 KB)
??
bug76213.phpt
(608 B)
??
bug76217.phpt
(1.07 KB)
??
build.inc
(992 B)
??
issue134.phpt
(481 B)
??
issue163.phpt
(1.05 KB)
??
issue231.phpt
(1.08 KB)
??
issue232.phpt
(509 B)
??
issue297.phpt
(976 B)
??
issue303.phpt
(928 B)
??
issue311.phpt
(530 B)
??
issue415.phpt
(1.21 KB)
??
issue420.phpt
(1.16 KB)
??
issue468.phpt
(1.16 KB)
??
issue469.phpt
(1.93 KB)
??
issue513.phpt
(2.64 KB)
??
issue518.phpt
(452 B)
??
issue530.phpt
(708 B)
??
issue535.phpt
(1.46 KB)
??
multi-section.ini
(130 B)
??
simple.ini
(932 B)
??
system.ini
(603 B)
Editing: 049.phpt
--TEST-- Check for Sample application with exception --SKIPIF-- <?php if (!extension_loaded("yaf")) print "skip"; ?> --INI-- yaf.use_spl_autoload=0 yaf.lowcase_path=0 yaf.use_namespace=0 --FILE-- <?php require "build.inc"; startup(); $config = array( "application" => array( "directory" => APPLICATION_PATH, "dispatcher" => array ( "catchException" => true, ), "library" => array( ), ), ); file_put_contents(APPLICATION_PATH . "/controllers/Error.php", <<<PHP <?php class ErrorController extends Yaf_Controller_Abstract { public function errorAction(\$exception) { \$this->_view->msg = \$exception->getMessage(); } } PHP ); file_put_contents(APPLICATION_PATH . "/Bootstrap.php", <<<PHP <?php class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initConfig(Yaf_Dispatcher \$dispatcher) { Yaf_Registry::set("config", Yaf_Application::app()->getConfig()); } public function _initPlugin(Yaf_Dispatcher \$dispatcher) { \$dispatcher->registerPlugin(new TestPlugin()); } public function _initReturn(Yaf_Dispatcher \$dispatcher) { // \$dispatcher->returnResponse(true); } } PHP ); file_put_contents(APPLICATION_PATH . "/plugins/Test.php", <<<PHP <?php class TestPlugin extends Yaf_Plugin_Abstract { public function routerStartup(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("routerStartup"); } public function routerShutdown(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("routerShutdown"); } public function dispatchLoopStartup(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("dispatchLoopStartup"); } public function preDispatch(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("preDispatch"); } public function postDispatch(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("postDispatch"); } public function dispatchLoopShutdown(Yaf_Request_Abstract \$request, Yaf_Response_Abstract \$response) { var_dump("dispatchLoopShutdown"); } } PHP ); file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<<PHP <?php class IndexController extends Yaf_Controller_Abstract { public function init() { var_dump("init"); } public function indexAction() { var_dump("action"); } } PHP ); file_put_contents(APPLICATION_PATH . "/views/index/index.phtml", "<?php throw new Exception('view exception'); ?>"); mkdir(APPLICATION_PATH . "/views/error/"); file_put_contents(APPLICATION_PATH . "/views/error/error.phtml", "catched: <?=\$msg?>"); $app = new Yaf_Application($config); $app->bootstrap()->run(); ?> --CLEAN-- <?php /* unlink foo2.phtml permission denied */ require "build.inc"; shutdown(); ?> --EXPECTF-- string(13) "routerStartup" string(14) "routerShutdown" string(19) "dispatchLoopStartup" string(11) "preDispatch" string(4) "init" string(6) "action" catched: view exception
Upload File
Create Folder