3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; while( i<5 ){ echo "this is a test" } ?>
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/Psufa on line 5
Process exited with code 255.

preferences:
183.79 ms | 1395 KiB | 57 Q