3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { abstract static function bar(); }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
Strict Standards: Static function Foo::bar() should not be abstract in /in/SF2h0 on line 5 Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Foo::bar) in /in/SF2h0 on line 6
Process exited with code 255.

preferences:
187.13 ms | 1399 KiB | 61 Q