1--TEST-- 2bug67436: E_STRICT instead of custom error handler 3--FILE-- 4<?php 5 6spl_autoload_register(function($classname) { 7 if (in_array($classname, array('a','b','c'))) { 8 require_once __DIR__ . "/{$classname}.php"; 9 } 10}); 11 12a::staticTest(); 13 14$b = new b(); 15$b->test(); 16--EXPECTF-- 17Warning: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT) in %s%ebug67436%eb.php on line %d 18b::test() 19a::test(c::TESTCONSTANT) 20