PHP 7.0.6 Released

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.

User Contributed Notes

me at abiusx dot com
3 months 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