ReflectionClass
PHP Manual

ReflectionClass::getModifiers

(PHP 5)

ReflectionClass::getModifiersGets modifiers

说明

public int ReflectionClass::getModifiers ( void )

Returns a bitfield of the access modifiers for this class.

参数

此函数没有参数。

返回值

Returns bitmask of modifier constants.

参见


ReflectionClass
PHP Manual