ReflectionClass
PHP 手册

ReflectionClass::isUserDefined

(PHP 5)

ReflectionClass::isUserDefinedChecks if user defined

说明

public bool ReflectionClass::isUserDefined ( void )

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

参数

This function has no parameters.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


ReflectionClass
PHP 手册