ReflectionParameter::isCallable

(PHP 5 >= 5.4.0, PHP 7)

ReflectionParameter::isCallableReturns whether parameter MUST be callable

说明

public bool ReflectionParameter::isCallable ( void )

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

Returns TRUE if the parameter is callable, FALSE if it is not or NULL on failure.

User Contributed Notes

me at abiusx dot com 15-Jan-2016 02:18
Apparently this does not return true for callback arguments to many of the internal functions, such as array_map and array_walk.