ReflectionClass::isUserDefined

(PHP 5, PHP 7, PHP 8)

ReflectionClass::isUserDefinedChecks if user defined

Description

public ReflectionClass::isUserDefined(): bool

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

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

See Also