3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0 while ($a < 100000) { $a += 1; }
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected 'while' (T_WHILE) in /in/I5JV2 on line 4
Process exited with code 255.

preferences:
169.11 ms | 1399 KiB | 35 Q