3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo __DIR__; $t = 'fgfdg'; var_dump((int) $t)
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected end of file in /in/HHtDR on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/HHtDR on line 4
Process exited with code 255.

preferences:
180.7 ms | 1395 KiB | 64 Q