3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $old = 30; $name ='翔太'; if ($old >= 20){ print $name '年齢は20才以上です'; print } ?>
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected ''年齢は20才以上です'' (T_CONSTANT_ENCAPSED_STRING) in /in/cCQrh on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/cCQrh on line 6
Process exited with code 255.