/usr/share/php/tests/PHP_Compat/tests/function/call_user_func_array.phpt is in php-compat 1.6.0a3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | --TEST--
Function -- call_user_func_array
--FILE--
<?php
require_once 'PHP/Compat/Function/call_user_func_array.php';
function somefunc ($param1, $param2, $param3) {
echo $param1, "\n", $param2, "\n", $param3;
}
$args = array ('foo', 'bar', 'meta');
php_compat_call_user_func_array('somefunc', $args);
?>
--EXPECT--
foo
bar
meta
|