3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "hhvm.static_file.files_match[0][pattern]=*.(dll | exe)" . PHP_EOL; $a .= "hhvm.static_file.files_match[0][headers][]=Content-Disposition: attachment" . PHP_EOL; $a .= "hhvm.static_file.files_match[1][pattern]=*.(php)" . PHP_EOL; $a .= "hhvm.static_file.files_match[1][headers][]=Content-Disposition: program" . PHP_EOL; var_dump(parse_ini_string($a));
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: syntax error, unexpected TC_SECTION, expecting '=' in Unknown on line 1 in /in/phv5U on line 6 bool(false)
Output for 5.0.2 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Fatal error: Call to undefined function parse_ini_string() in /in/phv5U on line 6
Process exited with code 255.
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 5 Fatal error: Call to undefined function parse_ini_string() in /in/phv5U on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: parse_ini_string() in /in/phv5U on line 6
Process exited with code 255.
Output for 4.3.10 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: parse_ini_string() in /in/phv5U on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 5 Fatal error: Call to undefined function: parse_ini_string() in /in/phv5U on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/phv5U on line 5 Fatal error: Call to undefined function: parse_ini_string() in /in/phv5U on line 6

preferences:
215.42 ms | 402 KiB | 307 Q