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