php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/Zend/tests/ |
files >> //opt/php-7.0.1/Zend/tests/bug65322.phpt |
--TEST-- Bug #65322: compile time errors won't trigger auto loading --FILE-- <?php spl_autoload_register(function($class) { var_dump($class); class X {} }); set_error_handler(function($_, $msg, $file) { var_dump($msg, $file); new X; }); /* This is just a particular example of a non-fatal compile-time error * If this breaks in future, just find another example and use it instead */ eval('class A { function test() { } } class B extends A { function test($a) { } }'); ?> --EXPECTF-- string(62) "Declaration of B::test($a) should be compatible with A::test()" string(%d) "%s(%d) : eval()'d code" string(1) "X"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`