3v4l.org

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