3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $old = 30; $name ='翔太'; if ($old >= 20){ print name + '年齢は20才以上です'; } ?>
Output for 7.1.0
Notice: Use of undefined constant name - assumed 'name' in /in/pn9W8 on line 6 Warning: A non-numeric value encountered in /in/pn9W8 on line 6 Warning: A non-numeric value encountered in /in/pn9W8 on line 6 0
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.0.14
Notice: Use of undefined constant name - assumed 'name' in /in/pn9W8 on line 6 0
Output for hhvm-3.10.0

Process exited with code 153.