1--TEST--
2Bug #36011 (Strict errormsg wrong for call_user_func() and the likes)
3--FILE--
4<?php
5
6class TestClass
7{
8	static function test()
9	{
10		echo __METHOD__ . "()\n";
11	}
12
13	function whee()
14	{
15		array_map(array('TestClass', 'test'), array('array_value'));
16	}
17
18	function whee4()
19	{
20		call_user_func(array('TestClass', 'test'));
21	}
22
23	static function whee5()
24	{
25		call_user_func(array('TestClass', 'test'));
26	}
27}
28
29TestClass::test();
30
31$a = new TestClass();
32$a->whee();
33$a->whee4();
34$a->whee5();
35
36TestClass::whee5();
37
38?>
39===DONE===
40--EXPECT--
41TestClass::test()
42TestClass::test()
43TestClass::test()
44TestClass::test()
45TestClass::test()
46===DONE===
47