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才以上です'; print $name; print ¥n; } } ?>
Output for 4.3.0 - 7.1.0
年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n年齢は20才以上です翔太 Notice: Use of undefined constant ¥n - assumed '¥n' in /in/O2vIc on line 8 ¥n