|
PHP5中文手册
function_exists(PHP 4, PHP 5) function_exists — Return TRUE if the given function has been defined 说明
bool function_exists
( string $function_name
)
Checks the list of defined functions, both built-in (internal) and user-defined, for function_name . 参数
返回值Returns TRUE if function_name exists and is a function, FALSE otherwise.
范例
Example#1 function_exists() example
<?php 注释
|