3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test ($a, $b) { var_dump($a, $b); $x = "12"; $y = 24; test($x, $y);
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected end of file in /in/j2A7G on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/j2A7G on line 12
Process exited with code 255.

preferences:
181.88 ms | 1386 KiB | 61 Q