3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { abstract public function bar(); }
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.21
Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Foo::bar) in /in/DL1jT on line 2
Process exited with code 255.

preferences:
199.01 ms | 1387 KiB | 57 Q