3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?phpclass FooBar{}for ( $i = 0; $i < 1000; $i++ ){ class_exists('FooBar');}
Output for 5.4.34
Parse error: syntax error, unexpected 'FooBar' (T_STRING) in /in/KdNtM on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?phpclass FooBar{}for ( $i = 0; $i < 1000; $i++ ){ class_exists('FooBar');}