3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $variable1 = 2; $variable2="6"; echo $variable1+$variable2; //echoes 8 echo $variable1."6"; echo "<br/>": echo $variable1.$variable2;
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ':', expecting ',' or ';' in /in/8PEl8 on line 6
Process exited with code 255.