--TEST-- Fixed bug that segfault while a abnormal object set to Yaf_Route*::route --SKIPIF-- ='8.0.0') print "skip"; ?> --INI-- yaf.use_spl_autoload=0 yaf.lowcase_path=0 yaf.use_namespace=0 --FILE-- 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