3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "hhvm.static_file.files_match[0][pattern] = *.(dll | exe) hhvm.static_file.files_match[0][headers][0] = Content-Disposition: attachment hhvm.static_file.files_match[1][pattern] = *.(php) hhvm.static_file.files_match[1][headers][0] = Content-Disposition: program"; var_dump(parse_ini_string($a, false, INI_SCANNER_RAW));
based on 0Jngm
Output for 5.3.0 - 7.1.0
Warning: syntax error, unexpected TC_SECTION, expecting '=' in Unknown on line 1 in /in/G8Xs6 on line 7 bool(false)
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/G8Xs6 on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/G8Xs6 on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: parse_ini_string() in /in/G8Xs6 on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: parse_ini_string() in /in/G8Xs6 on line 7