3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cedric = 'connard'; if(cedric == 'connard) { echo 'pas de toblerone'; }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'pas' (T_STRING) in /in/puXsJ on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/puXsJ on line 6
Process exited with code 255.

preferences:
182.05 ms | 1395 KiB | 65 Q