1--TEST--
2call_user_func() behavior when passing literal to reference parameter
3--FILE--
4<?php
5
6namespace Foo;
7
8var_dump(call_user_func('sort', []));
9var_dump(\call_user_func('sort', []));
10
11?>
12--EXPECTF--
13Warning: Parameter 1 to sort() expected to be a reference, value given in %s on line %d
14bool(true)
15
16Warning: Parameter 1 to sort() expected to be a reference, value given in %s on line %d
17bool(true)
18