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: 100.phpt
--TEST-- Check for error conditions of Yaf_Application::constructor --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(); try { $app = new Yaf_Application(fopen(__FILE__, "r")); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump(isset($app)); try { $app = new Yaf_Application(array(), "r"); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump(isset($app)); try { $app = new Yaf_Application(array("yaf" => 1), "r"); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump(isset($app)); try { $app = new Yaf_Application(array("yaf" => array()), "r"); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump(isset($app)); try { $app = new Yaf_Application(array("yaf" => array("directory" => __DIR__)), fopen(__FILE__, 'r')); } catch (Error $e) { if (phpversion() >='8.0.0') { var_dump('Yaf_Application::__construct() expects parameter 2 to be string, resource given'); }else{ var_dump($e->getMessage()); } } var_dump(isset($app)); $app = new Yaf_Application(array("yaf" => array("directory" => APPLICATION_PATH))); try { $double = new Yaf_Application(array("yaf" => array("directory" => __DIR__))); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump(isset($double)); file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<<PHP <?php class IndexController extends Yaf_Controller_Abstract { public function init() { Yaf_dispatcher::getInstance()->getApplication()->run(); } } PHP ); try { $app->run(); } catch (Exception $e) { var_dump($e->getMessage()); } ?> --CLEAN-- <?php require "build.inc"; shutdown(); ?> --EXPECT-- string(43) "Initialization of application config failed" bool(false) string(46) "Expected an array of application configuration" bool(false) string(46) "Expected an array of application configuration" bool(false) string(55) "Expected 'directory' entry in application configuration" bool(false) string(79) "Yaf_Application::__construct() expects parameter 2 to be string, resource given" bool(false) string(39) "Only one application can be initialized" bool(false) string(30) "Application is already started"
Save