QuickHashIntStringHash::update
简介
与变量和类型有关的扩展
PHP Manual
反射
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
扩展
Reflection
— Reflection 类
Reflection::export
— Exports
Reflection::getModifierNames
— 获取修饰符的名称
ReflectionClass
— ReflectionClass 类
ReflectionClass::__construct
— 构造一个 ReflectionClass 类
ReflectionClass::export
— 导出一个类
ReflectionClass::getConstant
— 获取定义过的一个常量
ReflectionClass::getConstants
— 获取一组常量
ReflectionClass::getConstructor
— 获取类的构造函数
ReflectionClass::getDefaultProperties
— 获取默认属性
ReflectionClass::getDocComment
— 获取文档注释
ReflectionClass::getEndLine
— 获取最后一行的行数
ReflectionClass::getExtension
— 根据已定义的类获取所在扩展的 ReflectionExtension 对象
ReflectionClass::getExtensionName
— 获取定义的类所在的扩展的名称
ReflectionClass::getFileName
— 获取定义类的文件名
ReflectionClass::getInterfaceNames
— 获取接口(interface)名称
ReflectionClass::getInterfaces
— 获取接口
ReflectionClass::getMethod
— 获取一个类方法的 ReflectionMethod。
ReflectionClass::getMethods
— 获取方法的数组
ReflectionClass::getModifiers
— 获取修饰符
ReflectionClass::getName
— 获取类名
ReflectionClass::getNamespaceName
— 获取命名空间的名称
ReflectionClass::getParentClass
— 获取父类
ReflectionClass::getProperties
— 获取一组属性
ReflectionClass::getProperty
— 获取类的一个属性的 ReflectionProperty
ReflectionClass::getShortName
— 获取短名
ReflectionClass::getStartLine
— 获取起始行号
ReflectionClass::getStaticProperties
— 获取静态(static)属性
ReflectionClass::getStaticPropertyValue
— 获取静态(static)属性的值
ReflectionClass::getTraitAliases
— 返回 trait 别名的一个数组
ReflectionClass::getTraitNames
— 返回这个类所使用 traits 的名称的数组
ReflectionClass::getTraits
— 返回这个类所使用的 traits 数组
ReflectionClass::hasConstant
— 检查常量是否已经定义
ReflectionClass::hasMethod
— 检查方法是否已定义
ReflectionClass::hasProperty
— 检查属性是否已定义
ReflectionClass::implementsInterface
— 接口的实现
ReflectionClass::inNamespace
— 检查是否位于命名空间中
ReflectionClass::isAbstract
— 检查类是否是抽象类(abstract)
ReflectionClass::isCloneable
— 返回了一个类是否可复制
ReflectionClass::isFinal
— 检查类是否声明为 final
ReflectionClass::isInstance
— 检查类的实例
ReflectionClass::isInstantiable
— 检查类是否可实例化
ReflectionClass::isInterface
— 检查类是否是一个接口(interface)
ReflectionClass::isInternal
— 检查类是否由扩展或核心在内部定义
ReflectionClass::isIterateable
— 检查是否可迭代(iterateable)
ReflectionClass::isSubclassOf
— 检查是否为一个子类
ReflectionClass::isTrait
— 返回了是否为一个 trait
ReflectionClass::isUserDefined
— 检查是否由用户定义的
ReflectionClass::newInstance
— 从指定的参数创建一个新的类实例
ReflectionClass::newInstanceArgs
— 从给出的参数创建一个新的类实例。
ReflectionClass::newInstanceWithoutConstructor
— 创建一个新的类实例而不调用它的构造函数
ReflectionClass::setStaticPropertyValue
— 设置静态属性的值
ReflectionClass::__toString
— 返回 ReflectionClass 对象字符串的表示形式。
ReflectionZendExtension
— ReflectionZendExtension 类
ReflectionZendExtension::__clone
— Clone handler
ReflectionZendExtension::__construct
— Constructor
ReflectionZendExtension::export
— Export
ReflectionZendExtension::getAuthor
— Gets author
ReflectionZendExtension::getCopyright
— Gets copyright
ReflectionZendExtension::getName
— Gets name
ReflectionZendExtension::getURL
— Gets URL
ReflectionZendExtension::getVersion
— Gets version
ReflectionZendExtension::__toString
— To string handler
ReflectionExtension
— ReflectionExtension 类
ReflectionExtension::__clone
— Clones
ReflectionExtension::__construct
— Constructs a ReflectionExtension
ReflectionExtension::export
— Export
ReflectionExtension::getClasses
— Gets classes
ReflectionExtension::getClassNames
— Gets class names
ReflectionExtension::getConstants
— Gets constants
ReflectionExtension::getDependencies
— Gets dependencies
ReflectionExtension::getFunctions
— Gets extension functions
ReflectionExtension::getINIEntries
— Gets extension ini entries
ReflectionExtension::getName
— Gets extension name
ReflectionExtension::getVersion
— Gets extension version
ReflectionExtension::info
— Print extension info
ReflectionExtension::isPersistent
— Returns whether this extension is persistent
ReflectionExtension::isTemporary
— Returns whether this extension is temporary
ReflectionExtension::__toString
— To string
ReflectionFunction
— ReflectionFunction 类
ReflectionFunction::__construct
— Constructs a ReflectionFunction object
ReflectionFunction::export
— Exports function
ReflectionFunction::getClosure
— Returns a dynamically created closure for the function
ReflectionFunction::invoke
— Invokes function
ReflectionFunction::invokeArgs
— Invokes function args
ReflectionFunction::isDisabled
— Checks if function is disabled
ReflectionFunction::__toString
— To string
ReflectionFunctionAbstract
— ReflectionFunctionAbstract 类
ReflectionFunctionAbstract::__clone
— Clones function
ReflectionFunctionAbstract::getClosureThis
— Returns this pointer bound to closure
ReflectionFunctionAbstract::getDocComment
— Gets doc comment
ReflectionFunctionAbstract::getEndLine
— Gets end line number
ReflectionFunctionAbstract::getExtension
— Gets extension info
ReflectionFunctionAbstract::getExtensionName
— Gets extension name
ReflectionFunctionAbstract::getFileName
— Gets file name
ReflectionFunctionAbstract::getName
— Gets function name
ReflectionFunctionAbstract::getNamespaceName
— Gets namespace name
ReflectionFunctionAbstract::getNumberOfParameters
— Gets number of parameters
ReflectionFunctionAbstract::getNumberOfRequiredParameters
— Gets number of required parameters
ReflectionFunctionAbstract::getParameters
— Gets parameters
ReflectionFunctionAbstract::getShortName
— Gets function short name
ReflectionFunctionAbstract::getStartLine
— Gets starting line number
ReflectionFunctionAbstract::getStaticVariables
— Gets static variables
ReflectionFunctionAbstract::inNamespace
— Checks if function in namespace
ReflectionFunctionAbstract::isClosure
— Checks if closure
ReflectionFunctionAbstract::isDeprecated
— Checks if deprecated
ReflectionFunctionAbstract::isInternal
— Checks if is internal
ReflectionFunctionAbstract::isUserDefined
— Checks if user defined
ReflectionFunctionAbstract::returnsReference
— Checks if returns reference
ReflectionFunctionAbstract::__toString
— To string
ReflectionMethod
— ReflectionMethod 类
ReflectionMethod::__construct
— Constructs a ReflectionMethod
ReflectionMethod::export
— Export a reflection method.
ReflectionMethod::getClosure
— Returns a dynamically created closure for the method
ReflectionMethod::getDeclaringClass
— Gets declaring class for the reflected method.
ReflectionMethod::getModifiers
— Gets the method modifiers
ReflectionMethod::getPrototype
— Gets the method prototype (if there is one).
ReflectionMethod::invoke
— Invoke
ReflectionMethod::invokeArgs
— Invoke args
ReflectionMethod::isAbstract
— Checks if method is abstract
ReflectionMethod::isConstructor
— Checks if method is a constructor
ReflectionMethod::isDestructor
— Checks if method is a destructor
ReflectionMethod::isFinal
— Checks if method is final
ReflectionMethod::isPrivate
— Checks if method is private
ReflectionMethod::isProtected
— Checks if method is protected
ReflectionMethod::isPublic
— Checks if method is public
ReflectionMethod::isStatic
— Checks if method is static
ReflectionMethod::setAccessible
— Set method accessibility
ReflectionMethod::__toString
— Returns the string representation of the Reflection method object.
ReflectionObject
— ReflectionObject 类
ReflectionObject::__construct
— Constructs a ReflectionObject
ReflectionObject::export
— Export
ReflectionParameter
— ReflectionParameter 类
ReflectionParameter::allowsNull
— Checks if null is allowed
ReflectionParameter::canBePassedByValue
— Returns whether this parameter can be passed by value
ReflectionParameter::__clone
— Clone
ReflectionParameter::__construct
— Construct
ReflectionParameter::export
— Exports
ReflectionParameter::getClass
— Get class
ReflectionParameter::getDeclaringClass
— Gets declaring class
ReflectionParameter::getDeclaringFunction
— Gets declaring function
ReflectionParameter::getDefaultValue
— Gets default parameter value
ReflectionParameter::getName
— Gets parameter name
ReflectionParameter::getPosition
— Gets parameter position
ReflectionParameter::isArray
— Checks if parameter expects an array
ReflectionParameter::isDefaultValueAvailable
— Checks if a default value is available
ReflectionParameter::isOptional
— Checks if optional
ReflectionParameter::isPassedByReference
— Checks if passed by reference
ReflectionParameter::__toString
— To string
ReflectionProperty
— ReflectionProperty 类
ReflectionProperty::__clone
— Clone
ReflectionProperty::__construct
— Construct a ReflectionProperty object
ReflectionProperty::export
— Export
ReflectionProperty::getDeclaringClass
— Gets declaring class
ReflectionProperty::getDocComment
— Gets doc comment
ReflectionProperty::getModifiers
— Gets modifiers
ReflectionProperty::getName
— Gets property name
ReflectionProperty::getValue
— Gets value
ReflectionProperty::isDefault
— Checks if default value
ReflectionProperty::isPrivate
— Checks if property is private
ReflectionProperty::isProtected
— Checks if property is protected
ReflectionProperty::isPublic
— Checks if property is public
ReflectionProperty::isStatic
— Checks if property is static
ReflectionProperty::setAccessible
— Set property accessibility
ReflectionProperty::setValue
— Set property value
ReflectionProperty::__toString
— To string
Reflector
— Reflector 接口
Reflector::export
— Exports
Reflector::__toString
— 转化成字符串
ReflectionException
— ReflectionException 类
QuickHashIntStringHash::update
简介
与变量和类型有关的扩展
PHP Manual