3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = <<<EOF [group] var=123 var2[]= var2[]=a var2[]=b var3[1]=test1;test2 var3[2]=test3,test4,test5|test6 [group2] EOF; $r = parse_ini_string( $s , false, INI_SCANNER_RAW); var_dump($r);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(3) { ["var"]=> string(3) "123" ["var2"]=> array(3) { [0]=> string(0) "" [1]=> string(1) "a" [2]=> string(1) "b" } ["var3"]=> array(2) { [1]=> string(5) "test1" [2]=> string(23) "test3,test4,test5|test6" } }
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/W6elH on line 19
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function parse_ini_string() in /in/W6elH on line 20
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/W6elH on line 19
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/W6elH on line 19
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: parse_ini_string() in /in/W6elH on line 20
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/W6elH on line 19