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/ext/standard/tests/general_functions/ |
files >> //opt/php-7.0.1/ext/standard/tests/general_functions/bug70018.phpt |
--TEST-- Bug #70018 (exec does not strip all whitespace) --SKIPIF-- <?php if ("cli" != php_sapi_name()) { die("skip.. CLI only test"); } ?> --FILE-- <?php $output = array(); $test_fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid()); file_put_contents($test_fl, '<?php echo "abc\f\n \n";'); exec(PHP_BINARY . " -n $test_fl", $output); var_dump($output); @unlink($test_fl); ?> --EXPECT-- array(2) { [0]=> string(3) "abc" [1]=> string(0) "" }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`