3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 304; echo 304[0]; echo $var[0];
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '[', expecting ',' or ';' in /in/QNGBm on line 5
Process exited with code 255.