parent root
PHP: ReflectionParameter::isCallable - Manual

ReflectionParameter::isCallable

(PHP 5 >= 5.4.0, PHP 7)

ReflectionParameter::isCallableReturns whether parameter MUST be callable

Description

public ReflectionParameter::isCallable ( void ) : bool

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

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

add a noteadd a note

User Contributed Notes 1 note

up
0
me at abiusx dot com
3 years ago
Apparently this does not return true for callback arguments to many of the internal functions, such as array_map and array_walk.
To Top
parent root