3v4l.org

run code in 300+ PHP versions simultaneously
<?php $old = 30; $name ='翔太'; for ($count = 0; $count < 10; $count++){ if ($old >= 20){ print '年齢は20才以上です'; echo $name;¥n } } ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '}' in /in/m13rv on line 8
Process exited with code 255.

preferences:
181.09 ms | 1410 KiB | 65 Q