File manager - Edit - /opt/alt/tests/alt-php81-pecl-yaf_3.3.6-1.el8/tests/051.phpt
Back
--TEST-- Fixed bug that segfault while a abnormal object set to Yaf_Route*::route --SKIPIF-- <?php if (!extension_loaded("yaf") || phpversion() >='8.0.0') print "skip"; ?> --INI-- yaf.use_spl_autoload=0 yaf.lowcase_path=0 yaf.use_namespace=0 --FILE-- <?php error_reporting(E_ALL & ~E_WARNING); $x = new Yaf_Route_Map(true); $x->route($x); $x = new Yaf_Route_Static(); $x->route($x); $x = new Yaf_Route_Rewrite("#^/test#", array("controller" => "info"), array()); $x->route($x); $x = new Yaf_Route_Supervar("r"); $x->route($x); $x = new Yaf_Route_Regex("#^/test#", array("controller" => "info"), array()); $x->route($x); echo "okey"; ?> --EXPECTF-- okey
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.09 |
proxy
|
phpinfo
|
Settings