by Example
显示下拉菜单
Configuration of call_user_func_array()
本页面仅提供英文版本。
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'call_user_func.php';
/**
* Function configuration
*
* @see docs/function-configuration.txt
*/
class call_user_func_array extends call_user_func
{
public $examples = [
[
'foobar',
[
0 => "one",
1 => "two",
],
],
[
'$barber',
["mushroom"],
],
[
['myclass', 'say_hello'],
[],
],
[
'myclass::say_hello',
[],
],
[
['$object', 'say_goodbye'],
['Bob']
],
[
'strncmp',
[
"abc",
"DEF",
3,
]
],
[
'foobar',
],
[
'foobar',
123
],
];
public $synopsis = 'mixed call_user_func_array ( callable $callback , array $param_arr )';
public $synopsis_fixed = null;
}
帮助
杂项
配置
测试
单元测试
Powered by
PHP 7.1.33 (0.003 s)
2014-2017 Michel Corne