1--TEST--
2call_user_func(): Wrong parameters
3--FILE--
4<?php
5
6call_user_func(array('Foo', 'bar'));
7call_user_func(array(NULL, 'bar'));
8call_user_func(array('stdclass', NULL));
9
10?>
11--EXPECTF--
12Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Foo' not found in %s on line %d
13
14Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in %s on line %d
15
16Warning: call_user_func() expects parameter 1 to be a valid callback, second array member is not a valid method in %s on line %d
17