3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class foo { public function zzz() {} abstract protected static function bar(); abstract protected static function baz(); public function ggg() {} /* Strict Standards: Static function foo::bar() should not be abstract in filename on line n */ } class boo extends foo { protected static function bar() {} protected static function baz() {} } $b = new boo;
based on Jhl4U
Output for 7.0.0 - 7.2.8
Output for 5.3.20 - 5.6.28
Strict Standards: Static function foo::bar() should not be abstract in /in/7v4GU on line 5 Strict Standards: Static function foo::baz() should not be abstract in /in/7v4GU on line 6