3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface Foo { } class Bar extends Foo { } var_dump('Bar' instanceof 'Foo');
Output for 5.3.0 - 5.4.25
Fatal error: Class Bar cannot extend from interface Foo in /in/HB6Sf on line 4
Process exited with code 255.