php教程

ReflectionParameter::isCallable

(PHP 5 >= 5.4.0, PHP 7)

ReflectionParameter::isCallableReturns whether parameter MUST be callable

说明

public ReflectionParameter::isCallable ( void ) : bool

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 05:18
Apparently this does not return true for callback arguments to many of the internal functions, such as array_map and array_walk.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788