ReflectionParameter::isCallable

(PHP 5 >= 5.4.0)

ReflectionParameter::isCallableReturns whether parameter MUST be callable

Опис

public bool ReflectionParameter::isCallable ( void )

Увага

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

Параметри

В цієї функції немає параметрів.

Значення, що повертаються

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
8 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