3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ini = <<<END_OF_CONFIG [foo] lorem = 42 ipsum = "37" dolor[] = 19 END_OF_CONFIG; var_dump(parse_ini_string($ini, true, INI_SCANNER_RAW));
Output for 5.3.0 - 7.2.0
array(1) { ["foo"]=> array(3) { ["lorem"]=> string(2) "42" ["ipsum"]=> string(2) "37" ["dolor"]=> array(1) { [0]=> string(2) "19" } } }
Output for 5.0.0 - 5.1.1, 5.1.3 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/5IDTj on line 10
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function parse_ini_string() in /in/5IDTj on line 11
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/5IDTj on line 10
Process exited with code 255.
Output for 4.3.2 - 4.4.1, 4.4.3 - 4.4.4
Fatal error: Call to undefined function: parse_ini_string() in /in/5IDTj on line 10
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: parse_ini_string() in /in/5IDTj on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/5IDTj on line 10