3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($_POST){ print_r($_POST); // PHP will throw exception with "Illegal offset" }
Output for 5.4.0 - 5.4.9
Fatal error: Cannot re-assign auto-global variable _POST in /in/UXvhd on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29

preferences:
188.73 ms | 1395 KiB | 47 Q