php8.5
Home/ Manual/ reflection / reflectionclass/ ReflectionClass::isUserDefined

ReflectionClass::isUserDefined

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Checks if user defined

Description

ReflectionClass::isUserDefined(): bool

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

Parameters Parameters

Return Values

Success

See Also

  • ReflectionClass::isInternal

Source: reference/reflection/reflectionclass/isuserdefined.xml · from the official PHP manual (php/doc-en)