3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $old = 20; if ($old >= 20){ print '年齢は20才以上です'; }else{ print '年齢は20才未満です'; } print $old.'sai'; ?>
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$old' (T_VARIABLE) in /in/2IYYH on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/2IYYH on line 9
Process exited with code 255.