3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = <<<EOF # comment here [group] var=123 #comment var2[] var2[]=true var2[]=yes var2[]=disabled var3[a]=test1;test2 #more comment; etc var3[b]=test3,test3,test5|test6 [group2] EOF; $r = parse_ini_string( strtr($s, '#;',';#') , false, INI_SCANNER_RAW); var_dump($r);
Output for 5.3.0 - 7.1.0
Warning: syntax error, unexpected END_OF_LINE, expecting '=' in Unknown on line 6 in /in/4EQYV on line 20 bool(false)
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/4EQYV on line 20
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function parse_ini_string() in /in/4EQYV on line 21
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/4EQYV on line 20
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/4EQYV on line 20
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: parse_ini_string() in /in/4EQYV on line 21
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/4EQYV on line 20