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: 104.phpt
--TEST-- Check for Yaf_Dispatcher::dispatch() of errors while loading executor --SKIPIF-- <?php if (!extension_loaded("yaf")) print "skip"; ?> --INI-- yaf.use_namespace=0 yaf.use_spl_autoload=0 --FILE-- <?php require "build.inc"; startup(); $config = array( "application" => array( "directory" => APPLICATION_PATH, ), ); $app = new Yaf_Application($config); $dispatcher = $app->getDispatcher(); $request = new Yaf_Request_Simple(); set_error_handler(function ($no, $msg) { var_dump(substr($msg, 0, 100)); }); $request->setControllerName(str_repeat("Index", 1024 * 1024)); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump(substr($e->getMessage(), 0, 100)); } $request->setControllerName("index"); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } file_put_contents(APPLICATION_PATH . "/controllers/Index.php", "xxx"); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<<PHP <?php class IndexController { public function indexAction() { } } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setControllerName("dummy"); file_put_contents(APPLICATION_PATH . "/controllers/Dummy.php", <<<PHP <?php class DummyController extends Yaf_Controller_Abstract { } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setControllerName("dummy1"); file_put_contents(APPLICATION_PATH . "/controllers/Dummy1.php", <<<PHP <?php class Dummy1Controller extends Yaf_Controller_Abstract { public \$actions; } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setControllerName("dummy2"); file_put_contents(APPLICATION_PATH . "/controllers/Dummy2.php", <<<PHP <?php class Dummy2Controller extends Yaf_Controller_Abstract { public \$actions = array(); } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setControllerName("dummy3"); file_put_contents(APPLICATION_PATH . "/controllers/Dummy3.php", <<<PHP <?php class Dummy3Controller extends Yaf_Controller_Abstract { public \$actions = array("index" => NULL); } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setControllerName("dummy4"); file_put_contents(APPLICATION_PATH . "/controllers/Dummy4.php", <<<PHP <?php class Dummy4Controller extends Yaf_Controller_Abstract { public \$actions = array( "index" => "actions/index.php", "foo" => "actions/foo.php", ); } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } file_put_contents(APPLICATION_PATH . "/actions/index.php", <<<PHP <?php class IndexAction { } PHP ); try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } try { $dispatcher->dispatch($request); } catch (Exception $e) { var_dump($e->getMessage()); } $request->setActionName("foo"); file_put_contents(APPLICATION_PATH . "/actions/foo.php", <<<PHP <?php class FooAction extends Yaf_Action_Abstract { } PHP ); $dispatcher->dispatch($request); ?> --CLEAN-- <?php require "build.inc"; shutdown(); ?> --EXPECTF-- string(100) "path too long while loading 'Indexindexindexindexindexindexindexindexindexindexindexindexindexindexi" string(%d) "Failed opening controller script %sIndex.php: No such file or directory" xxxstring(%d) "Could not find class IndexController in controller script %sIndex.php" string(73) "Controller 'IndexController' is not a subclass of Yaf_Controller_Abstract" string(49) "There is no method indexAction in DummyController" string(50) "There is no method indexAction in Dummy1Controller" string(60) "There is no method indexAction in Dummy2Controller::$actions" string(70) "Action 'index' in Dummy3Controller::actions does not have a valid path" string(%s) "Failed opening action script %sindex.php: No such file or directory" string(61) "Action 'IndexAction' is not a subclass of Yaf_Action_Abstract" string(61) "Action 'IndexAction' is not a subclass of Yaf_Action_Abstract" Fatal error: Class FooAction contains 1 abstract method and must therefore be declared abstract or implement the remaining method%s(Yaf_Action_Abstract::execute) in %sfoo.php on line %d
Upload File
Create Folder