PHP 5.6.18 is available

ReflectionParameter::isCallable

(PHP 5 >= 5.4.0, PHP 7)

ReflectionParameter::isCallableReturns whether parameter MUST be callable

Description

public bool ReflectionParameter::isCallable ( void )

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 note add a note

User Contributed Notes 1 note

up
0
me at abiusx dot com
26 days 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