golden hour
/opt/alt/tests/alt-php71-pecl-yaf_3.3.6-1.el9/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
001.phpt
530 B
Del
OK
002.phpt
2.46 KB
Del
OK
003.phpt
1.25 KB
Del
OK
004.phpt
482 B
Del
OK
005.phpt
939 B
Del
OK
006.phpt
877 B
Del
OK
007.phpt
1.75 KB
Del
OK
008.phpt
1.49 KB
Del
OK
009.phpt
754 B
Del
OK
010.phpt
13.36 KB
Del
OK
011.phpt
786 B
Del
OK
012.phpt
796 B
Del
OK
013.phpt
2.83 KB
Del
OK
014.phpt
1.99 KB
Del
OK
015.phpt
515 B
Del
OK
016.phpt
891 B
Del
OK
017.phpt
600 B
Del
OK
018.phpt
2.29 KB
Del
OK
019.phpt
646 B
Del
OK
020.phpt
885 B
Del
OK
021.phpt
544 B
Del
OK
022.phpt
809 B
Del
OK
023.phpt
1.62 KB
Del
OK
024.phpt
675 B
Del
OK
025.phpt
1.03 KB
Del
OK
026.phpt
681 B
Del
OK
027.phpt
897 B
Del
OK
028.phpt
586 B
Del
OK
029.phpt
500 B
Del
OK
030.phpt
408 B
Del
OK
031.phpt
956 B
Del
OK
032.phpt
625 B
Del
OK
033.phpt
1.66 KB
Del
OK
034.phpt
549 B
Del
OK
035.phpt
1.01 KB
Del
OK
036.phpt
2.57 KB
Del
OK
037.phpt
1.87 KB
Del
OK
038.phpt
682 B
Del
OK
039.phpt
856 B
Del
OK
040.phpt
360 B
Del
OK
041.phpt
1.67 KB
Del
OK
042.phpt
868 B
Del
OK
043.phpt
1.03 KB
Del
OK
044.phpt
522 B
Del
OK
045.phpt
1.28 KB
Del
OK
046.phpt
771 B
Del
OK
047.phpt
850 B
Del
OK
048.phpt
3.27 KB
Del
OK
049.phpt
3.21 KB
Del
OK
050.phpt
1.08 KB
Del
OK
051.phpt
657 B
Del
OK
052.phpt
1.57 KB
Del
OK
053.phpt
1.93 KB
Del
OK
054.phpt
542 B
Del
OK
055.phpt
573 B
Del
OK
056.phpt
593 B
Del
OK
057.phpt
593 B
Del
OK
058.phpt
593 B
Del
OK
059.phpt
1.47 KB
Del
OK
060.phpt
1.43 KB
Del
OK
061.phpt
1.06 KB
Del
OK
062.phpt
674 B
Del
OK
063.phpt
1.25 KB
Del
OK
064.phpt
1.3 KB
Del
OK
065.phpt
798 B
Del
OK
066.phpt
692 B
Del
OK
067.phpt
1.46 KB
Del
OK
068.phpt
1.05 KB
Del
OK
069.phpt
768 B
Del
OK
070.phpt
516 B
Del
OK
071.phpt
278 B
Del
OK
072.phpt
1.89 KB
Del
OK
073.phpt
1.44 KB
Del
OK
074.phpt
722 B
Del
OK
075.phpt
898 B
Del
OK
076.phpt
994 B
Del
OK
077.phpt
851 B
Del
OK
078.phpt
1.08 KB
Del
OK
079.phpt
901 B
Del
OK
080.phpt
1.01 KB
Del
OK
081.phpt
354 B
Del
OK
082.phpt
632 B
Del
OK
083.phpt
958 B
Del
OK
084.phpt
1.35 KB
Del
OK
085.phpt
266 B
Del
OK
086.phpt
288 B
Del
OK
087.phpt
1.88 KB
Del
OK
088.phpt
1.51 KB
Del
OK
089.phpt
1.08 KB
Del
OK
090.phpt
2.11 KB
Del
OK
091.phpt
1.06 KB
Del
OK
092.phpt
904 B
Del
OK
093.phpt
1.08 KB
Del
OK
094.phpt
2.16 KB
Del
OK
095.phpt
1.8 KB
Del
OK
096.phpt
1.47 KB
Del
OK
097.phpt
2.5 KB
Del
OK
098.phpt
940 B
Del
OK
099.phpt
3.14 KB
Del
OK
100.phpt
2.24 KB
Del
OK
101.phpt
642 B
Del
OK
102.phpt
1.58 KB
Del
OK
103.phpt
1.39 KB
Del
OK
104.phpt
4.35 KB
Del
OK
105.phpt
1000 B
Del
OK
106.phpt
1.86 KB
Del
OK
107.phpt
1.08 KB
Del
OK
108.phpt
1.39 KB
Del
OK
109.phpt
1.54 KB
Del
OK
bug61493.phpt
480 B
Del
OK
bug62702.phpt
1.68 KB
Del
OK
bug63381.phpt
1.13 KB
Del
OK
bug63438.phpt
1.31 KB
Del
OK
bug63900.phpt
1.04 KB
Del
OK
bug70913.phpt
1.16 KB
Del
OK
bug76213.phpt
608 B
Del
OK
bug76217.phpt
1.07 KB
Del
OK
build.inc
992 B
Del
OK
issue134.phpt
481 B
Del
OK
issue163.phpt
1.05 KB
Del
OK
issue231.phpt
1.08 KB
Del
OK
issue232.phpt
509 B
Del
OK
issue297.phpt
976 B
Del
OK
issue303.phpt
928 B
Del
OK
issue311.phpt
530 B
Del
OK
issue415.phpt
1.21 KB
Del
OK
issue420.phpt
1.16 KB
Del
OK
issue468.phpt
1.16 KB
Del
OK
issue469.phpt
1.93 KB
Del
OK
issue513.phpt
2.64 KB
Del
OK
issue518.phpt
452 B
Del
OK
issue530.phpt
708 B
Del
OK
issue535.phpt
1.46 KB
Del
OK
multi-section.ini
130 B
Del
OK
simple.ini
932 B
Del
OK
system.ini
603 B
Del
OK
Edit: 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 methods (Yaf_Action_Abstract::execute) in %sfoo.php on line %d
Save