3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Foo { } class Bar implements Foo { } var_dump('Bar' instanceof Foo);
Output for 5.3.0 - 5.4.25
Fatal error: instanceof expects an object instance, constant given in /in/prk4J on line 5
Process exited with code 255.