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/nowdoc_015.phpt |
--TEST-- Test nowdoc and line numbering --FILE-- <?php function error_handler($num, $msg, $file, $line, $vars) { echo $line,"\n"; } set_error_handler('error_handler'); trigger_error("line", E_USER_ERROR); $x = <<<EOF EOF; var_dump($x); trigger_error("line", E_USER_ERROR); $x = <<<'EOF' EOF; var_dump($x); trigger_error("line", E_USER_ERROR); $x = <<<EOF test EOF; var_dump($x); trigger_error("line", E_USER_ERROR); $x = <<<'EOF' test EOF; var_dump($x); trigger_error("line", E_USER_ERROR); $x = <<<EOF test1 test2 test3 EOF; var_dump($x); trigger_error("line", E_USER_ERROR); $x = <<<'EOF' test1 test2 test3 EOF; var_dump($x); trigger_error("line", E_USER_ERROR); echo "ok\n"; ?> --EXPECT-- 6 string(0) "" 10 string(0) "" 14 string(4) "test" 19 string(4) "test" 24 string(20) "test1 test2 test3 " 34 string(20) "test1 test2 test3 " 44 oky~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`