php / 8.1.5 / reflectionfunctionabstract.isuserdefined.html /

ReflectionFunctionAbstract::isUserDefined

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

ReflectionFunctionAbstract::isUserDefinedChecks if user defined

Description

public ReflectionFunctionAbstract::isUserDefined(): bool

Checks whether the function is user-defined, as opposed to internal.

Parameters

This function has no parameters.

Return Values

true if it's user-defined, otherwise false;

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionfunctionabstract.isuserdefined.php