3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class foo { abstract protected static function bar(); /* Strict Standards: Static function foo::bar() should not be abstract in filename on line n */ } class boo extends foo { protected static function bar() {}; } $b = new boo;
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting function (T_FUNCTION) in /in/EkkCj on line 10
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Strict Standards: Static function foo::bar() should not be abstract in /in/EkkCj on line 4 Parse error: syntax error, unexpected ';', expecting function (T_FUNCTION) in /in/EkkCj on line 10
Process exited with code 255.

preferences:
170.46 ms | 1395 KiB | 24 Q