<?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;
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Output for 5.5.24 - 5.5.35, 5.6.8 - 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