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/bug48768.phpt |
--TEST-- Bug #48768 (parse_ini_*() crashes with INI_SCANNER_RAW) --FILE-- <?php $ini_location = dirname(__FILE__) . '/bug48768.tmp'; // Build ini data $ini_data = <<< EOT equal = "=" EOT; // Save ini data to file file_put_contents($ini_location, $ini_data); var_dump(parse_ini_file($ini_location, false, INI_SCANNER_RAW)); var_dump(parse_ini_file($ini_location, false, INI_SCANNER_NORMAL)); ?> --CLEAN-- <?php @unlink(dirname(__FILE__) . '/bug48768.tmp'); ?> --EXPECT-- array(1) { ["equal"]=> string(1) "=" } array(1) { ["equal"]=> string(1) "=" }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`