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][] = Content-Disposition: attachment hhvm.static_file.files_match[1][pattern] = *.(php) hhvm.static_file.files_match[1][headers][] = Content-Disposition: program"; var_dump(parse_ini_string($a, fales, INI_SCANNER_RAW));
based on TZdMd
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant fales - assumed 'fales' in /in/sgqod on line 7 Warning: syntax error, unexpected TC_SECTION, expecting '=' in Unknown on line 1 in /in/sgqod on line 7 bool(false)
Output for hhvm-3.12.0
Notice: Use of undefined constant fales - assumed 'fales' in /in/sgqod on line 7 array(1) { ["hhvm.static_file.files_match"]=> array(2) { [0]=> array(2) { ["pattern"]=> string(13) "*.(dll | exe)" ["headers"]=> array(1) { [""]=> string(31) "Content-Disposition: attachment" } } [1]=> array(2) { ["pattern"]=> string(7) "*.(php)" ["headers"]=> array(1) { [""]=> string(28) "Content-Disposition: program" } } } }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/sgqod 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/sgqod 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/sgqod 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/sgqod on line 7