by Example
显示下拉菜单
Configuration of is_callable()
本页面仅提供英文版本。
<?php
/**
* PHP By Example
*
* @copyright 2014 Michel Corne
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU GPL v3
*/
require_once 'models/function_core.php';
/**
* Function configuration
*
* @see docs/function-configuration.txt
*/
class is_callable extends function_core
{
public $examples = [
["someFunction", false],
['is_callable'],
[
['Exception', 'getMessage'],
true,
'$callable_name',
]
];
public $helper_callbacks = ['function_name_pattern' => '~(cmp$|^ctype_|^gmp|^is_|^str[ifprst])~'];
public $synopsis = 'bool is_callable ( callable $name [, bool $syntax_only = false [, string &$callable_name ]] )';
}
帮助
杂项
配置
测试
单元测试
Powered by
PHP 7.1.33 (0.01 s)
2014-2017 Michel Corne