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: sort(): Argument #1 ($array) must be passed by reference, value given in %s on line %d 14bool(true) 15 16Warning: sort(): Argument #1 ($array) must be passed by reference, value given in %s on line %d 17bool(true) 18