3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Ja"; echo " JJ: '$a'"
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/imLSb on line 3
Process exited with code 255.

preferences:
193.25 ms | 1395 KiB | 67 Q