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/tests/run-test/ |
files >> //opt/php-7.0.1/tests/run-test/test008a.phpt |
--TEST-- Error message handling (with ZendOpcache) --SKIPIF-- <?php if (!extension_loaded("Zend Opcache")) die("skip Zend Opcache is loaded"); ?> --FILE-- <?php // If this test fails ask the developers of run-test.php // // We check the general ini settings which affect error handling // and than verify if a message is given by a division by zero. // EXPECTF is used here since the error format may change but ut // should always contain 'Division by zero'. var_dump(ini_get('display_errors')); var_dump(ini_get('error_reporting')); var_dump(ini_get('log_errors')); var_dump(ini_get('track_errors')); ini_set('display_errors', 0); var_dump(ini_get('display_errors')); var_dump($php_errormsg); $zero = 0; $error = 1 / $zero; var_dump($php_errormsg); ?> --EXPECTF-- string(1) "1" string(5) "32767" string(1) "0" string(1) "1" string(1) "0" NULL string(%d) "%sivision by zer%s"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`