3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(){ echo 'test'; }(); $test();
Output for 5.3.0 - 5.3.23, 5.4.0 - 5.4.13
Parse error: syntax error, unexpected ')' in /in/3UGkZ on line 4
Process exited with code 255.

preferences:
160.35 ms | 1387 KiB | 45 Q