3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Test Source function Test5_2() { /* The Test */ $t = microtime(true); $i = 0; while($i < 1000000) ++$i; return (microtime(true) - $t); } Test5_2()
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected end of file in /in/ZdihQ on line 13
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected $end in /in/ZdihQ on line 13
Process exited with code 255.

preferences:
180.24 ms | 1395 KiB | 39 Q