-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/standard/tests/general_functions/
File Upload :
Current File : //usr/src/php/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) "="
}

Copyright © 2017 || Recoded By Mr.Bumblebee