3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr( "".sin(time()) + 2), 0, 1 ) ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/Aqf5f on line 4
Process exited with code 255.

preferences:
189.26 ms | 1395 KiB | 63 Q