mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Generate method entries for ext/session and ext/reflection
Closes GH-5376
This commit is contained in:
parent
dfd0acf0d7
commit
1bba691ecc
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
/** @generate-function-entries */
|
||||
|
||||
class ReflectionException extends Exception
|
||||
{
|
||||
}
|
||||
@ -16,6 +18,7 @@ interface Reflector extends Stringable
|
||||
|
||||
abstract class ReflectionFunctionAbstract implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
/** @return bool */
|
||||
@ -296,7 +299,7 @@ class ReflectionClass implements Reflector
|
||||
public function getModifiers() {}
|
||||
|
||||
/** @return bool */
|
||||
public function isIntance(object $object) {}
|
||||
public function isInstance(object $object) {}
|
||||
|
||||
/** @return object */
|
||||
public function newInstance(...$args) {}
|
||||
@ -331,7 +334,10 @@ class ReflectionClass implements Reflector
|
||||
/** @return bool */
|
||||
public function isIterable() {}
|
||||
|
||||
/** @return bool */
|
||||
/**
|
||||
* @return bool
|
||||
* @alias ReflectionClass::isIterable
|
||||
*/
|
||||
public function isIterateable() {}
|
||||
|
||||
/**
|
||||
@ -363,6 +369,7 @@ class ReflectionObject extends ReflectionClass
|
||||
|
||||
class ReflectionProperty implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
/** @param string|object $class */
|
||||
@ -423,6 +430,7 @@ class ReflectionProperty implements Reflector
|
||||
|
||||
class ReflectionClassConstant implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
/** @return string|object */
|
||||
@ -457,6 +465,7 @@ class ReflectionClassConstant implements Reflector
|
||||
|
||||
class ReflectionParameter implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
/**
|
||||
@ -524,6 +533,7 @@ class ReflectionParameter implements Reflector
|
||||
|
||||
abstract class ReflectionType implements Stringable
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
/** @return bool */
|
||||
@ -548,6 +558,7 @@ class ReflectionUnionType extends ReflectionType
|
||||
|
||||
class ReflectionExtension implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
public function __construct(string $name) {}
|
||||
@ -590,6 +601,7 @@ class ReflectionExtension implements Reflector
|
||||
|
||||
class ReflectionZendExtension implements Reflector
|
||||
{
|
||||
/** @alias ReflectionClass::__clone */
|
||||
final private function __clone() {}
|
||||
|
||||
public function __construct(string $name) {}
|
||||
@ -619,6 +631,7 @@ final class ReflectionReference
|
||||
|
||||
public function getId(): string {}
|
||||
|
||||
/** @alias ReflectionClass::__clone */
|
||||
private function __clone() {}
|
||||
|
||||
private function __construct() {}
|
||||
|
@ -217,7 +217,7 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
#define arginfo_class_ReflectionClass_getModifiers arginfo_class_ReflectionFunctionAbstract___clone
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionClass_isIntance, 0, 0, 1)
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ReflectionClass_isInstance, 0, 0, 1)
|
||||
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
@ -454,3 +454,476 @@ ZEND_END_ARG_INFO()
|
||||
#define arginfo_class_ReflectionReference___clone arginfo_class_ReflectionFunctionAbstract___clone
|
||||
|
||||
#define arginfo_class_ReflectionReference___construct arginfo_class_ReflectionFunctionAbstract___clone
|
||||
|
||||
|
||||
ZEND_METHOD(Reflection, getModifierNames);
|
||||
ZEND_METHOD(ReflectionClass, __clone);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, inNamespace);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isClosure);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isDeprecated);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isInternal);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isUserDefined);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isGenerator);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isVariadic);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getClosureThis);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getClosureScopeClass);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getDocComment);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getEndLine);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getExtension);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getExtensionName);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getFileName);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getName);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getNamespaceName);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getNumberOfParameters);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getNumberOfRequiredParameters);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getParameters);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getShortName);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getStartLine);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getStaticVariables);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, returnsReference);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, hasReturnType);
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, getReturnType);
|
||||
ZEND_METHOD(ReflectionFunction, __construct);
|
||||
ZEND_METHOD(ReflectionFunction, __toString);
|
||||
ZEND_METHOD(ReflectionFunction, isDisabled);
|
||||
ZEND_METHOD(ReflectionFunction, invoke);
|
||||
ZEND_METHOD(ReflectionFunction, invokeArgs);
|
||||
ZEND_METHOD(ReflectionFunction, getClosure);
|
||||
ZEND_METHOD(ReflectionGenerator, __construct);
|
||||
ZEND_METHOD(ReflectionGenerator, getExecutingLine);
|
||||
ZEND_METHOD(ReflectionGenerator, getExecutingFile);
|
||||
ZEND_METHOD(ReflectionGenerator, getTrace);
|
||||
ZEND_METHOD(ReflectionGenerator, getFunction);
|
||||
ZEND_METHOD(ReflectionGenerator, getThis);
|
||||
ZEND_METHOD(ReflectionGenerator, getExecutingGenerator);
|
||||
ZEND_METHOD(ReflectionMethod, __construct);
|
||||
ZEND_METHOD(ReflectionMethod, __toString);
|
||||
ZEND_METHOD(ReflectionMethod, isPublic);
|
||||
ZEND_METHOD(ReflectionMethod, isPrivate);
|
||||
ZEND_METHOD(ReflectionMethod, isProtected);
|
||||
ZEND_METHOD(ReflectionMethod, isAbstract);
|
||||
ZEND_METHOD(ReflectionMethod, isFinal);
|
||||
ZEND_METHOD(ReflectionMethod, isStatic);
|
||||
ZEND_METHOD(ReflectionMethod, isConstructor);
|
||||
ZEND_METHOD(ReflectionMethod, isDestructor);
|
||||
ZEND_METHOD(ReflectionMethod, getClosure);
|
||||
ZEND_METHOD(ReflectionMethod, getModifiers);
|
||||
ZEND_METHOD(ReflectionMethod, invoke);
|
||||
ZEND_METHOD(ReflectionMethod, invokeArgs);
|
||||
ZEND_METHOD(ReflectionMethod, getDeclaringClass);
|
||||
ZEND_METHOD(ReflectionMethod, getPrototype);
|
||||
ZEND_METHOD(ReflectionMethod, setAccessible);
|
||||
ZEND_METHOD(ReflectionClass, __construct);
|
||||
ZEND_METHOD(ReflectionClass, __toString);
|
||||
ZEND_METHOD(ReflectionClass, getName);
|
||||
ZEND_METHOD(ReflectionClass, isInternal);
|
||||
ZEND_METHOD(ReflectionClass, isUserDefined);
|
||||
ZEND_METHOD(ReflectionClass, isAnonymous);
|
||||
ZEND_METHOD(ReflectionClass, isInstantiable);
|
||||
ZEND_METHOD(ReflectionClass, isCloneable);
|
||||
ZEND_METHOD(ReflectionClass, getFileName);
|
||||
ZEND_METHOD(ReflectionClass, getStartLine);
|
||||
ZEND_METHOD(ReflectionClass, getEndLine);
|
||||
ZEND_METHOD(ReflectionClass, getDocComment);
|
||||
ZEND_METHOD(ReflectionClass, getConstructor);
|
||||
ZEND_METHOD(ReflectionClass, hasMethod);
|
||||
ZEND_METHOD(ReflectionClass, getMethod);
|
||||
ZEND_METHOD(ReflectionClass, getMethods);
|
||||
ZEND_METHOD(ReflectionClass, hasProperty);
|
||||
ZEND_METHOD(ReflectionClass, getProperty);
|
||||
ZEND_METHOD(ReflectionClass, getProperties);
|
||||
ZEND_METHOD(ReflectionClass, hasConstant);
|
||||
ZEND_METHOD(ReflectionClass, getConstants);
|
||||
ZEND_METHOD(ReflectionClass, getReflectionConstants);
|
||||
ZEND_METHOD(ReflectionClass, getConstant);
|
||||
ZEND_METHOD(ReflectionClass, getReflectionConstant);
|
||||
ZEND_METHOD(ReflectionClass, getInterfaces);
|
||||
ZEND_METHOD(ReflectionClass, getInterfaceNames);
|
||||
ZEND_METHOD(ReflectionClass, isInterface);
|
||||
ZEND_METHOD(ReflectionClass, getTraits);
|
||||
ZEND_METHOD(ReflectionClass, getTraitNames);
|
||||
ZEND_METHOD(ReflectionClass, getTraitAliases);
|
||||
ZEND_METHOD(ReflectionClass, isTrait);
|
||||
ZEND_METHOD(ReflectionClass, isAbstract);
|
||||
ZEND_METHOD(ReflectionClass, isFinal);
|
||||
ZEND_METHOD(ReflectionClass, getModifiers);
|
||||
ZEND_METHOD(ReflectionClass, isInstance);
|
||||
ZEND_METHOD(ReflectionClass, newInstance);
|
||||
ZEND_METHOD(ReflectionClass, newInstanceWithoutConstructor);
|
||||
ZEND_METHOD(ReflectionClass, newInstanceArgs);
|
||||
ZEND_METHOD(ReflectionClass, getParentClass);
|
||||
ZEND_METHOD(ReflectionClass, isSubclassOf);
|
||||
ZEND_METHOD(ReflectionClass, getStaticProperties);
|
||||
ZEND_METHOD(ReflectionClass, getStaticPropertyValue);
|
||||
ZEND_METHOD(ReflectionClass, setStaticPropertyValue);
|
||||
ZEND_METHOD(ReflectionClass, getDefaultProperties);
|
||||
ZEND_METHOD(ReflectionClass, isIterable);
|
||||
ZEND_METHOD(ReflectionClass, implementsInterface);
|
||||
ZEND_METHOD(ReflectionClass, getExtension);
|
||||
ZEND_METHOD(ReflectionClass, getExtensionName);
|
||||
ZEND_METHOD(ReflectionClass, inNamespace);
|
||||
ZEND_METHOD(ReflectionClass, getNamespaceName);
|
||||
ZEND_METHOD(ReflectionClass, getShortName);
|
||||
ZEND_METHOD(ReflectionObject, __construct);
|
||||
ZEND_METHOD(ReflectionProperty, __construct);
|
||||
ZEND_METHOD(ReflectionProperty, __toString);
|
||||
ZEND_METHOD(ReflectionProperty, getName);
|
||||
ZEND_METHOD(ReflectionProperty, getValue);
|
||||
ZEND_METHOD(ReflectionProperty, setValue);
|
||||
ZEND_METHOD(ReflectionProperty, isInitialized);
|
||||
ZEND_METHOD(ReflectionProperty, isPublic);
|
||||
ZEND_METHOD(ReflectionProperty, isPrivate);
|
||||
ZEND_METHOD(ReflectionProperty, isProtected);
|
||||
ZEND_METHOD(ReflectionProperty, isStatic);
|
||||
ZEND_METHOD(ReflectionProperty, isDefault);
|
||||
ZEND_METHOD(ReflectionProperty, getModifiers);
|
||||
ZEND_METHOD(ReflectionProperty, getDeclaringClass);
|
||||
ZEND_METHOD(ReflectionProperty, getDocComment);
|
||||
ZEND_METHOD(ReflectionProperty, setAccessible);
|
||||
ZEND_METHOD(ReflectionProperty, getType);
|
||||
ZEND_METHOD(ReflectionProperty, hasType);
|
||||
ZEND_METHOD(ReflectionProperty, hasDefaultValue);
|
||||
ZEND_METHOD(ReflectionProperty, getDefaultValue);
|
||||
ZEND_METHOD(ReflectionClassConstant, __construct);
|
||||
ZEND_METHOD(ReflectionClassConstant, __toString);
|
||||
ZEND_METHOD(ReflectionClassConstant, getName);
|
||||
ZEND_METHOD(ReflectionClassConstant, getValue);
|
||||
ZEND_METHOD(ReflectionClassConstant, isPublic);
|
||||
ZEND_METHOD(ReflectionClassConstant, isPrivate);
|
||||
ZEND_METHOD(ReflectionClassConstant, isProtected);
|
||||
ZEND_METHOD(ReflectionClassConstant, getModifiers);
|
||||
ZEND_METHOD(ReflectionClassConstant, getDeclaringClass);
|
||||
ZEND_METHOD(ReflectionClassConstant, getDocComment);
|
||||
ZEND_METHOD(ReflectionParameter, __construct);
|
||||
ZEND_METHOD(ReflectionParameter, __toString);
|
||||
ZEND_METHOD(ReflectionParameter, getName);
|
||||
ZEND_METHOD(ReflectionParameter, isPassedByReference);
|
||||
ZEND_METHOD(ReflectionParameter, canBePassedByValue);
|
||||
ZEND_METHOD(ReflectionParameter, getDeclaringFunction);
|
||||
ZEND_METHOD(ReflectionParameter, getDeclaringClass);
|
||||
ZEND_METHOD(ReflectionParameter, getClass);
|
||||
ZEND_METHOD(ReflectionParameter, hasType);
|
||||
ZEND_METHOD(ReflectionParameter, getType);
|
||||
ZEND_METHOD(ReflectionParameter, isArray);
|
||||
ZEND_METHOD(ReflectionParameter, isCallable);
|
||||
ZEND_METHOD(ReflectionParameter, allowsNull);
|
||||
ZEND_METHOD(ReflectionParameter, getPosition);
|
||||
ZEND_METHOD(ReflectionParameter, isOptional);
|
||||
ZEND_METHOD(ReflectionParameter, isDefaultValueAvailable);
|
||||
ZEND_METHOD(ReflectionParameter, getDefaultValue);
|
||||
ZEND_METHOD(ReflectionParameter, isDefaultValueConstant);
|
||||
ZEND_METHOD(ReflectionParameter, getDefaultValueConstantName);
|
||||
ZEND_METHOD(ReflectionParameter, isVariadic);
|
||||
ZEND_METHOD(ReflectionType, allowsNull);
|
||||
ZEND_METHOD(ReflectionType, __toString);
|
||||
ZEND_METHOD(ReflectionNamedType, getName);
|
||||
ZEND_METHOD(ReflectionNamedType, isBuiltin);
|
||||
ZEND_METHOD(ReflectionUnionType, getTypes);
|
||||
ZEND_METHOD(ReflectionExtension, __construct);
|
||||
ZEND_METHOD(ReflectionExtension, __toString);
|
||||
ZEND_METHOD(ReflectionExtension, getName);
|
||||
ZEND_METHOD(ReflectionExtension, getVersion);
|
||||
ZEND_METHOD(ReflectionExtension, getFunctions);
|
||||
ZEND_METHOD(ReflectionExtension, getConstants);
|
||||
ZEND_METHOD(ReflectionExtension, getINIEntries);
|
||||
ZEND_METHOD(ReflectionExtension, getClasses);
|
||||
ZEND_METHOD(ReflectionExtension, getClassNames);
|
||||
ZEND_METHOD(ReflectionExtension, getDependencies);
|
||||
ZEND_METHOD(ReflectionExtension, info);
|
||||
ZEND_METHOD(ReflectionExtension, isPersistent);
|
||||
ZEND_METHOD(ReflectionExtension, isTemporary);
|
||||
ZEND_METHOD(ReflectionZendExtension, __construct);
|
||||
ZEND_METHOD(ReflectionZendExtension, __toString);
|
||||
ZEND_METHOD(ReflectionZendExtension, getName);
|
||||
ZEND_METHOD(ReflectionZendExtension, getVersion);
|
||||
ZEND_METHOD(ReflectionZendExtension, getAuthor);
|
||||
ZEND_METHOD(ReflectionZendExtension, getURL);
|
||||
ZEND_METHOD(ReflectionZendExtension, getCopyright);
|
||||
ZEND_METHOD(ReflectionReference, fromArrayElement);
|
||||
ZEND_METHOD(ReflectionReference, getId);
|
||||
ZEND_METHOD(ReflectionReference, __construct);
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionException_methods[] = {
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_Reflection_methods[] = {
|
||||
ZEND_ME(Reflection, getModifierNames, arginfo_class_Reflection_getModifierNames, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_Reflector_methods[] = {
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionFunctionAbstract_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionFunctionAbstract___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionFunctionAbstract, inNamespace, arginfo_class_ReflectionFunctionAbstract_inNamespace, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isClosure, arginfo_class_ReflectionFunctionAbstract_isClosure, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isDeprecated, arginfo_class_ReflectionFunctionAbstract_isDeprecated, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isInternal, arginfo_class_ReflectionFunctionAbstract_isInternal, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isUserDefined, arginfo_class_ReflectionFunctionAbstract_isUserDefined, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isGenerator, arginfo_class_ReflectionFunctionAbstract_isGenerator, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, isVariadic, arginfo_class_ReflectionFunctionAbstract_isVariadic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getClosureThis, arginfo_class_ReflectionFunctionAbstract_getClosureThis, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getClosureScopeClass, arginfo_class_ReflectionFunctionAbstract_getClosureScopeClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getDocComment, arginfo_class_ReflectionFunctionAbstract_getDocComment, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getEndLine, arginfo_class_ReflectionFunctionAbstract_getEndLine, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getExtension, arginfo_class_ReflectionFunctionAbstract_getExtension, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getExtensionName, arginfo_class_ReflectionFunctionAbstract_getExtensionName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getFileName, arginfo_class_ReflectionFunctionAbstract_getFileName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getName, arginfo_class_ReflectionFunctionAbstract_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getNamespaceName, arginfo_class_ReflectionFunctionAbstract_getNamespaceName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getNumberOfParameters, arginfo_class_ReflectionFunctionAbstract_getNumberOfParameters, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getNumberOfRequiredParameters, arginfo_class_ReflectionFunctionAbstract_getNumberOfRequiredParameters, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getParameters, arginfo_class_ReflectionFunctionAbstract_getParameters, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getShortName, arginfo_class_ReflectionFunctionAbstract_getShortName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getStartLine, arginfo_class_ReflectionFunctionAbstract_getStartLine, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getStaticVariables, arginfo_class_ReflectionFunctionAbstract_getStaticVariables, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, returnsReference, arginfo_class_ReflectionFunctionAbstract_returnsReference, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, hasReturnType, arginfo_class_ReflectionFunctionAbstract_hasReturnType, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunctionAbstract, getReturnType, arginfo_class_ReflectionFunctionAbstract_getReturnType, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionFunction_methods[] = {
|
||||
ZEND_ME(ReflectionFunction, __construct, arginfo_class_ReflectionFunction___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunction, __toString, arginfo_class_ReflectionFunction___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunction, isDisabled, arginfo_class_ReflectionFunction_isDisabled, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunction, invoke, arginfo_class_ReflectionFunction_invoke, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunction, invokeArgs, arginfo_class_ReflectionFunction_invokeArgs, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionFunction, getClosure, arginfo_class_ReflectionFunction_getClosure, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionGenerator_methods[] = {
|
||||
ZEND_ME(ReflectionGenerator, __construct, arginfo_class_ReflectionGenerator___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getExecutingLine, arginfo_class_ReflectionGenerator_getExecutingLine, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getExecutingFile, arginfo_class_ReflectionGenerator_getExecutingFile, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getTrace, arginfo_class_ReflectionGenerator_getTrace, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getFunction, arginfo_class_ReflectionGenerator_getFunction, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getThis, arginfo_class_ReflectionGenerator_getThis, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionGenerator, getExecutingGenerator, arginfo_class_ReflectionGenerator_getExecutingGenerator, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionMethod_methods[] = {
|
||||
ZEND_ME(ReflectionMethod, __construct, arginfo_class_ReflectionMethod___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, __toString, arginfo_class_ReflectionMethod___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isPublic, arginfo_class_ReflectionMethod_isPublic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isPrivate, arginfo_class_ReflectionMethod_isPrivate, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isProtected, arginfo_class_ReflectionMethod_isProtected, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isAbstract, arginfo_class_ReflectionMethod_isAbstract, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isFinal, arginfo_class_ReflectionMethod_isFinal, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isStatic, arginfo_class_ReflectionMethod_isStatic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isConstructor, arginfo_class_ReflectionMethod_isConstructor, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, isDestructor, arginfo_class_ReflectionMethod_isDestructor, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, getClosure, arginfo_class_ReflectionMethod_getClosure, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, getModifiers, arginfo_class_ReflectionMethod_getModifiers, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, invoke, arginfo_class_ReflectionMethod_invoke, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, invokeArgs, arginfo_class_ReflectionMethod_invokeArgs, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, getDeclaringClass, arginfo_class_ReflectionMethod_getDeclaringClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, getPrototype, arginfo_class_ReflectionMethod_getPrototype, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionMethod, setAccessible, arginfo_class_ReflectionMethod_setAccessible, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionClass_methods[] = {
|
||||
ZEND_ME(ReflectionClass, __clone, arginfo_class_ReflectionClass___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionClass, __construct, arginfo_class_ReflectionClass___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, __toString, arginfo_class_ReflectionClass___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getName, arginfo_class_ReflectionClass_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isInternal, arginfo_class_ReflectionClass_isInternal, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isUserDefined, arginfo_class_ReflectionClass_isUserDefined, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isAnonymous, arginfo_class_ReflectionClass_isAnonymous, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isInstantiable, arginfo_class_ReflectionClass_isInstantiable, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isCloneable, arginfo_class_ReflectionClass_isCloneable, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getFileName, arginfo_class_ReflectionClass_getFileName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getStartLine, arginfo_class_ReflectionClass_getStartLine, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getEndLine, arginfo_class_ReflectionClass_getEndLine, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getDocComment, arginfo_class_ReflectionClass_getDocComment, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getConstructor, arginfo_class_ReflectionClass_getConstructor, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, hasMethod, arginfo_class_ReflectionClass_hasMethod, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getMethod, arginfo_class_ReflectionClass_getMethod, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getMethods, arginfo_class_ReflectionClass_getMethods, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, hasProperty, arginfo_class_ReflectionClass_hasProperty, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getProperty, arginfo_class_ReflectionClass_getProperty, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getProperties, arginfo_class_ReflectionClass_getProperties, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, hasConstant, arginfo_class_ReflectionClass_hasConstant, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getConstants, arginfo_class_ReflectionClass_getConstants, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getReflectionConstants, arginfo_class_ReflectionClass_getReflectionConstants, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getConstant, arginfo_class_ReflectionClass_getConstant, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getReflectionConstant, arginfo_class_ReflectionClass_getReflectionConstant, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getInterfaces, arginfo_class_ReflectionClass_getInterfaces, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getInterfaceNames, arginfo_class_ReflectionClass_getInterfaceNames, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isInterface, arginfo_class_ReflectionClass_isInterface, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getTraits, arginfo_class_ReflectionClass_getTraits, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getTraitNames, arginfo_class_ReflectionClass_getTraitNames, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getTraitAliases, arginfo_class_ReflectionClass_getTraitAliases, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isTrait, arginfo_class_ReflectionClass_isTrait, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isAbstract, arginfo_class_ReflectionClass_isAbstract, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isFinal, arginfo_class_ReflectionClass_isFinal, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getModifiers, arginfo_class_ReflectionClass_getModifiers, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isInstance, arginfo_class_ReflectionClass_isInstance, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, newInstance, arginfo_class_ReflectionClass_newInstance, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, newInstanceWithoutConstructor, arginfo_class_ReflectionClass_newInstanceWithoutConstructor, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, newInstanceArgs, arginfo_class_ReflectionClass_newInstanceArgs, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getParentClass, arginfo_class_ReflectionClass_getParentClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isSubclassOf, arginfo_class_ReflectionClass_isSubclassOf, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getStaticProperties, arginfo_class_ReflectionClass_getStaticProperties, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getStaticPropertyValue, arginfo_class_ReflectionClass_getStaticPropertyValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, setStaticPropertyValue, arginfo_class_ReflectionClass_setStaticPropertyValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getDefaultProperties, arginfo_class_ReflectionClass_getDefaultProperties, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, isIterable, arginfo_class_ReflectionClass_isIterable, ZEND_ACC_PUBLIC)
|
||||
ZEND_MALIAS(ReflectionClass, isIterateable, isIterable, arginfo_class_ReflectionClass_isIterateable, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, implementsInterface, arginfo_class_ReflectionClass_implementsInterface, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getExtension, arginfo_class_ReflectionClass_getExtension, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getExtensionName, arginfo_class_ReflectionClass_getExtensionName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, inNamespace, arginfo_class_ReflectionClass_inNamespace, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getNamespaceName, arginfo_class_ReflectionClass_getNamespaceName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClass, getShortName, arginfo_class_ReflectionClass_getShortName, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionObject_methods[] = {
|
||||
ZEND_ME(ReflectionObject, __construct, arginfo_class_ReflectionObject___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionProperty_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionProperty___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionProperty, __construct, arginfo_class_ReflectionProperty___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, __toString, arginfo_class_ReflectionProperty___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getName, arginfo_class_ReflectionProperty_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getValue, arginfo_class_ReflectionProperty_getValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, setValue, arginfo_class_ReflectionProperty_setValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isInitialized, arginfo_class_ReflectionProperty_isInitialized, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isPublic, arginfo_class_ReflectionProperty_isPublic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isPrivate, arginfo_class_ReflectionProperty_isPrivate, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isProtected, arginfo_class_ReflectionProperty_isProtected, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isStatic, arginfo_class_ReflectionProperty_isStatic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, isDefault, arginfo_class_ReflectionProperty_isDefault, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getModifiers, arginfo_class_ReflectionProperty_getModifiers, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getDeclaringClass, arginfo_class_ReflectionProperty_getDeclaringClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getDocComment, arginfo_class_ReflectionProperty_getDocComment, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, setAccessible, arginfo_class_ReflectionProperty_setAccessible, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getType, arginfo_class_ReflectionProperty_getType, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, hasType, arginfo_class_ReflectionProperty_hasType, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, hasDefaultValue, arginfo_class_ReflectionProperty_hasDefaultValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionProperty, getDefaultValue, arginfo_class_ReflectionProperty_getDefaultValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionClassConstant_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionClassConstant___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionClassConstant, __construct, arginfo_class_ReflectionClassConstant___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, __toString, arginfo_class_ReflectionClassConstant___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, getName, arginfo_class_ReflectionClassConstant_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, getValue, arginfo_class_ReflectionClassConstant_getValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, isPublic, arginfo_class_ReflectionClassConstant_isPublic, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, isPrivate, arginfo_class_ReflectionClassConstant_isPrivate, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, isProtected, arginfo_class_ReflectionClassConstant_isProtected, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, getModifiers, arginfo_class_ReflectionClassConstant_getModifiers, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, getDeclaringClass, arginfo_class_ReflectionClassConstant_getDeclaringClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionClassConstant, getDocComment, arginfo_class_ReflectionClassConstant_getDocComment, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionParameter_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionParameter___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionParameter, __construct, arginfo_class_ReflectionParameter___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, __toString, arginfo_class_ReflectionParameter___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getName, arginfo_class_ReflectionParameter_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isPassedByReference, arginfo_class_ReflectionParameter_isPassedByReference, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, canBePassedByValue, arginfo_class_ReflectionParameter_canBePassedByValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getDeclaringFunction, arginfo_class_ReflectionParameter_getDeclaringFunction, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getDeclaringClass, arginfo_class_ReflectionParameter_getDeclaringClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getClass, arginfo_class_ReflectionParameter_getClass, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, hasType, arginfo_class_ReflectionParameter_hasType, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getType, arginfo_class_ReflectionParameter_getType, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isArray, arginfo_class_ReflectionParameter_isArray, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isCallable, arginfo_class_ReflectionParameter_isCallable, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, allowsNull, arginfo_class_ReflectionParameter_allowsNull, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getPosition, arginfo_class_ReflectionParameter_getPosition, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isOptional, arginfo_class_ReflectionParameter_isOptional, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isDefaultValueAvailable, arginfo_class_ReflectionParameter_isDefaultValueAvailable, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getDefaultValue, arginfo_class_ReflectionParameter_getDefaultValue, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isDefaultValueConstant, arginfo_class_ReflectionParameter_isDefaultValueConstant, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, getDefaultValueConstantName, arginfo_class_ReflectionParameter_getDefaultValueConstantName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionParameter, isVariadic, arginfo_class_ReflectionParameter_isVariadic, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionType_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionType___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionType, allowsNull, arginfo_class_ReflectionType_allowsNull, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionType, __toString, arginfo_class_ReflectionType___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionNamedType_methods[] = {
|
||||
ZEND_ME(ReflectionNamedType, getName, arginfo_class_ReflectionNamedType_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionNamedType, isBuiltin, arginfo_class_ReflectionNamedType_isBuiltin, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionUnionType_methods[] = {
|
||||
ZEND_ME(ReflectionUnionType, getTypes, arginfo_class_ReflectionUnionType_getTypes, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionExtension_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionExtension___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionExtension, __construct, arginfo_class_ReflectionExtension___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, __toString, arginfo_class_ReflectionExtension___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getName, arginfo_class_ReflectionExtension_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getVersion, arginfo_class_ReflectionExtension_getVersion, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getFunctions, arginfo_class_ReflectionExtension_getFunctions, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getConstants, arginfo_class_ReflectionExtension_getConstants, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getINIEntries, arginfo_class_ReflectionExtension_getINIEntries, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getClasses, arginfo_class_ReflectionExtension_getClasses, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getClassNames, arginfo_class_ReflectionExtension_getClassNames, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, getDependencies, arginfo_class_ReflectionExtension_getDependencies, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, info, arginfo_class_ReflectionExtension_info, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, isPersistent, arginfo_class_ReflectionExtension_isPersistent, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionExtension, isTemporary, arginfo_class_ReflectionExtension_isTemporary, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionZendExtension_methods[] = {
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionZendExtension___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
|
||||
ZEND_ME(ReflectionZendExtension, __construct, arginfo_class_ReflectionZendExtension___construct, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, __toString, arginfo_class_ReflectionZendExtension___toString, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, getName, arginfo_class_ReflectionZendExtension_getName, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, getVersion, arginfo_class_ReflectionZendExtension_getVersion, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, getAuthor, arginfo_class_ReflectionZendExtension_getAuthor, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, getURL, arginfo_class_ReflectionZendExtension_getURL, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(ReflectionZendExtension, getCopyright, arginfo_class_ReflectionZendExtension_getCopyright, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_ReflectionReference_methods[] = {
|
||||
ZEND_ME(ReflectionReference, fromArrayElement, arginfo_class_ReflectionReference_fromArrayElement, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
|
||||
ZEND_ME(ReflectionReference, getId, arginfo_class_ReflectionReference_getId, ZEND_ACC_PUBLIC)
|
||||
ZEND_MALIAS(ReflectionClass, __clone, __clone, arginfo_class_ReflectionReference___clone, ZEND_ACC_PRIVATE)
|
||||
ZEND_ME(ReflectionReference, __construct, arginfo_class_ReflectionReference___construct, ZEND_ACC_PRIVATE)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
@ -2669,80 +2669,6 @@ PHP_FUNCTION(session_register_shutdown)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ session_functions[]
|
||||
*/
|
||||
static const zend_function_entry session_functions[] = {
|
||||
PHP_FE(session_name, arginfo_session_name)
|
||||
PHP_FE(session_module_name, arginfo_session_module_name)
|
||||
PHP_FE(session_save_path, arginfo_session_save_path)
|
||||
PHP_FE(session_id, arginfo_session_id)
|
||||
PHP_FE(session_create_id, arginfo_session_create_id)
|
||||
PHP_FE(session_regenerate_id, arginfo_session_regenerate_id)
|
||||
PHP_FE(session_decode, arginfo_session_decode)
|
||||
PHP_FE(session_encode, arginfo_session_encode)
|
||||
PHP_FE(session_start, arginfo_session_start)
|
||||
PHP_FE(session_destroy, arginfo_session_destroy)
|
||||
PHP_FE(session_unset, arginfo_session_unset)
|
||||
PHP_FE(session_gc, arginfo_session_gc)
|
||||
PHP_FE(session_set_save_handler, arginfo_session_set_save_handler)
|
||||
PHP_FE(session_cache_limiter, arginfo_session_cache_limiter)
|
||||
PHP_FE(session_cache_expire, arginfo_session_cache_expire)
|
||||
PHP_FE(session_set_cookie_params, arginfo_session_set_cookie_params)
|
||||
PHP_FE(session_get_cookie_params, arginfo_session_get_cookie_params)
|
||||
PHP_FE(session_write_close, arginfo_session_write_close)
|
||||
PHP_FE(session_abort, arginfo_session_abort)
|
||||
PHP_FE(session_reset, arginfo_session_reset)
|
||||
PHP_FE(session_status, arginfo_session_status)
|
||||
PHP_FE(session_register_shutdown, arginfo_session_register_shutdown)
|
||||
PHP_FALIAS(session_commit, session_write_close, arginfo_session_commit)
|
||||
PHP_FE_END
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ SessionHandlerInterface functions[]
|
||||
*/
|
||||
static const zend_function_entry php_session_iface_functions[] = {
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, open, arginfo_class_SessionHandlerInterface_open)
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, close, arginfo_class_SessionHandlerInterface_close)
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, read, arginfo_class_SessionHandlerInterface_read)
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, write, arginfo_class_SessionHandlerInterface_write)
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, destroy, arginfo_class_SessionHandlerInterface_destroy)
|
||||
PHP_ABSTRACT_ME(SessionHandlerInterface, gc, arginfo_class_SessionHandlerInterface_gc)
|
||||
PHP_FE_END
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ SessionIdInterface functions[]
|
||||
*/
|
||||
static const zend_function_entry php_session_id_iface_functions[] = {
|
||||
PHP_ABSTRACT_ME(SessionIdInterface, create_sid, arginfo_class_SessionIdInterface_create_sid)
|
||||
PHP_FE_END
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ SessionUpdateTimestampHandler functions[]
|
||||
*/
|
||||
static const zend_function_entry php_session_update_timestamp_iface_functions[] = {
|
||||
PHP_ABSTRACT_ME(SessionUpdateTimestampHandlerInterface, validateId, arginfo_class_SessionUpdateTimestampHandlerInterface_validateId)
|
||||
PHP_ABSTRACT_ME(SessionUpdateTimestampHandlerInterface, updateTimestamp, arginfo_class_SessionUpdateTimestampHandlerInterface_updateTimestamp)
|
||||
PHP_FE_END
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ SessionHandler functions[]
|
||||
*/
|
||||
static const zend_function_entry php_session_class_functions[] = {
|
||||
PHP_ME(SessionHandler, open, arginfo_class_SessionHandlerInterface_open, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, close, arginfo_class_SessionHandlerInterface_close, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, read, arginfo_class_SessionHandlerInterface_read, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, write, arginfo_class_SessionHandlerInterface_write, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, destroy, arginfo_class_SessionHandlerInterface_destroy, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, gc, arginfo_class_SessionHandlerInterface_gc, ZEND_ACC_PUBLIC)
|
||||
PHP_ME(SessionHandler, create_sid, arginfo_class_SessionIdInterface_create_sid, ZEND_ACC_PUBLIC)
|
||||
PHP_FE_END
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* ********************************
|
||||
* Module Setup and Destruction *
|
||||
******************************** */
|
||||
@ -2857,20 +2783,20 @@ static PHP_MINIT_FUNCTION(session) /* {{{ */
|
||||
php_rfc1867_callback = php_session_rfc1867_callback;
|
||||
|
||||
/* Register interfaces */
|
||||
INIT_CLASS_ENTRY(ce, PS_IFACE_NAME, php_session_iface_functions);
|
||||
INIT_CLASS_ENTRY(ce, PS_IFACE_NAME, class_SessionHandlerInterface_methods);
|
||||
php_session_iface_entry = zend_register_internal_class(&ce);
|
||||
php_session_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
|
||||
|
||||
INIT_CLASS_ENTRY(ce, PS_SID_IFACE_NAME, php_session_id_iface_functions);
|
||||
INIT_CLASS_ENTRY(ce, PS_SID_IFACE_NAME, class_SessionIdInterface_methods);
|
||||
php_session_id_iface_entry = zend_register_internal_class(&ce);
|
||||
php_session_id_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
|
||||
|
||||
INIT_CLASS_ENTRY(ce, PS_UPDATE_TIMESTAMP_IFACE_NAME, php_session_update_timestamp_iface_functions);
|
||||
INIT_CLASS_ENTRY(ce, PS_UPDATE_TIMESTAMP_IFACE_NAME, class_SessionUpdateTimestampHandlerInterface_methods);
|
||||
php_session_update_timestamp_iface_entry = zend_register_internal_class(&ce);
|
||||
php_session_update_timestamp_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
|
||||
|
||||
/* Register base class */
|
||||
INIT_CLASS_ENTRY(ce, PS_CLASS_NAME, php_session_class_functions);
|
||||
INIT_CLASS_ENTRY(ce, PS_CLASS_NAME, class_SessionHandler_methods);
|
||||
php_session_class_entry = zend_register_internal_class(&ce);
|
||||
zend_class_implements(php_session_class_entry, 1, php_session_iface_entry);
|
||||
zend_class_implements(php_session_class_entry, 1, php_session_id_iface_entry);
|
||||
@ -3251,7 +3177,7 @@ zend_module_entry session_module_entry = {
|
||||
NULL,
|
||||
session_deps,
|
||||
"session",
|
||||
session_functions,
|
||||
ext_functions,
|
||||
PHP_MINIT(session), PHP_MSHUTDOWN(session),
|
||||
PHP_RINIT(session), PHP_RSHUTDOWN(session),
|
||||
PHP_MINFO(session),
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
/** @generate-function-entries */
|
||||
|
||||
function session_name(string $name = UNKNOWN): string|false {}
|
||||
|
||||
function session_module_name(string $module = UNKNOWN): string|false {}
|
||||
@ -82,3 +84,27 @@ interface SessionUpdateTimestampHandlerInterface
|
||||
/** @return bool */
|
||||
public function updateTimestamp(string $key, string $val);
|
||||
}
|
||||
|
||||
class SessionHandler implements SessionHandlerInterface, SessionIdInterface
|
||||
{
|
||||
/** @return bool */
|
||||
public function open(string $save_path, string $session_name) {}
|
||||
|
||||
/** @return bool */
|
||||
public function close() {}
|
||||
|
||||
/** @return string */
|
||||
public function read(string $key) {}
|
||||
|
||||
/** @return bool */
|
||||
public function write(string $key, string $val) {}
|
||||
|
||||
/** @return bool */
|
||||
public function destroy(string $key) {}
|
||||
|
||||
/** @return int|bool */
|
||||
public function gc(int $maxlifetime) {}
|
||||
|
||||
/** @return string */
|
||||
public function create_sid() {}
|
||||
}
|
||||
|
@ -116,3 +116,112 @@ ZEND_END_ARG_INFO()
|
||||
#define arginfo_class_SessionUpdateTimestampHandlerInterface_validateId arginfo_class_SessionHandlerInterface_read
|
||||
|
||||
#define arginfo_class_SessionUpdateTimestampHandlerInterface_updateTimestamp arginfo_class_SessionHandlerInterface_write
|
||||
|
||||
#define arginfo_class_SessionHandler_open arginfo_class_SessionHandlerInterface_open
|
||||
|
||||
#define arginfo_class_SessionHandler_close arginfo_class_SessionHandlerInterface_close
|
||||
|
||||
#define arginfo_class_SessionHandler_read arginfo_class_SessionHandlerInterface_read
|
||||
|
||||
#define arginfo_class_SessionHandler_write arginfo_class_SessionHandlerInterface_write
|
||||
|
||||
#define arginfo_class_SessionHandler_destroy arginfo_class_SessionHandlerInterface_read
|
||||
|
||||
#define arginfo_class_SessionHandler_gc arginfo_class_SessionHandlerInterface_gc
|
||||
|
||||
#define arginfo_class_SessionHandler_create_sid arginfo_class_SessionHandlerInterface_close
|
||||
|
||||
|
||||
ZEND_FUNCTION(session_name);
|
||||
ZEND_FUNCTION(session_module_name);
|
||||
ZEND_FUNCTION(session_save_path);
|
||||
ZEND_FUNCTION(session_id);
|
||||
ZEND_FUNCTION(session_create_id);
|
||||
ZEND_FUNCTION(session_regenerate_id);
|
||||
ZEND_FUNCTION(session_decode);
|
||||
ZEND_FUNCTION(session_encode);
|
||||
ZEND_FUNCTION(session_destroy);
|
||||
ZEND_FUNCTION(session_unset);
|
||||
ZEND_FUNCTION(session_gc);
|
||||
ZEND_FUNCTION(session_get_cookie_params);
|
||||
ZEND_FUNCTION(session_write_close);
|
||||
ZEND_FUNCTION(session_abort);
|
||||
ZEND_FUNCTION(session_reset);
|
||||
ZEND_FUNCTION(session_status);
|
||||
ZEND_FUNCTION(session_register_shutdown);
|
||||
ZEND_FUNCTION(session_set_save_handler);
|
||||
ZEND_FUNCTION(session_cache_limiter);
|
||||
ZEND_FUNCTION(session_cache_expire);
|
||||
ZEND_FUNCTION(session_set_cookie_params);
|
||||
ZEND_FUNCTION(session_start);
|
||||
ZEND_METHOD(SessionHandler, open);
|
||||
ZEND_METHOD(SessionHandler, close);
|
||||
ZEND_METHOD(SessionHandler, read);
|
||||
ZEND_METHOD(SessionHandler, write);
|
||||
ZEND_METHOD(SessionHandler, destroy);
|
||||
ZEND_METHOD(SessionHandler, gc);
|
||||
ZEND_METHOD(SessionHandler, create_sid);
|
||||
|
||||
|
||||
static const zend_function_entry ext_functions[] = {
|
||||
ZEND_FE(session_name, arginfo_session_name)
|
||||
ZEND_FE(session_module_name, arginfo_session_module_name)
|
||||
ZEND_FE(session_save_path, arginfo_session_save_path)
|
||||
ZEND_FE(session_id, arginfo_session_id)
|
||||
ZEND_FE(session_create_id, arginfo_session_create_id)
|
||||
ZEND_FE(session_regenerate_id, arginfo_session_regenerate_id)
|
||||
ZEND_FE(session_decode, arginfo_session_decode)
|
||||
ZEND_FE(session_encode, arginfo_session_encode)
|
||||
ZEND_FE(session_destroy, arginfo_session_destroy)
|
||||
ZEND_FE(session_unset, arginfo_session_unset)
|
||||
ZEND_FE(session_gc, arginfo_session_gc)
|
||||
ZEND_FE(session_get_cookie_params, arginfo_session_get_cookie_params)
|
||||
ZEND_FE(session_write_close, arginfo_session_write_close)
|
||||
ZEND_FE(session_abort, arginfo_session_abort)
|
||||
ZEND_FE(session_reset, arginfo_session_reset)
|
||||
ZEND_FE(session_status, arginfo_session_status)
|
||||
ZEND_FE(session_register_shutdown, arginfo_session_register_shutdown)
|
||||
ZEND_FALIAS(session_commit, session_write_close, arginfo_session_commit)
|
||||
ZEND_FE(session_set_save_handler, arginfo_session_set_save_handler)
|
||||
ZEND_FE(session_cache_limiter, arginfo_session_cache_limiter)
|
||||
ZEND_FE(session_cache_expire, arginfo_session_cache_expire)
|
||||
ZEND_FE(session_set_cookie_params, arginfo_session_set_cookie_params)
|
||||
ZEND_FE(session_start, arginfo_session_start)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_SessionHandlerInterface_methods[] = {
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, open, arginfo_class_SessionHandlerInterface_open, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, close, arginfo_class_SessionHandlerInterface_close, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, read, arginfo_class_SessionHandlerInterface_read, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, write, arginfo_class_SessionHandlerInterface_write, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, destroy, arginfo_class_SessionHandlerInterface_destroy, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionHandlerInterface, gc, arginfo_class_SessionHandlerInterface_gc, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_SessionIdInterface_methods[] = {
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionIdInterface, create_sid, arginfo_class_SessionIdInterface_create_sid, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_SessionUpdateTimestampHandlerInterface_methods[] = {
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionUpdateTimestampHandlerInterface, validateId, arginfo_class_SessionUpdateTimestampHandlerInterface_validateId, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_ABSTRACT_ME_WITH_FLAGS(SessionUpdateTimestampHandlerInterface, updateTimestamp, arginfo_class_SessionUpdateTimestampHandlerInterface_updateTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
||||
|
||||
static const zend_function_entry class_SessionHandler_methods[] = {
|
||||
ZEND_ME(SessionHandler, open, arginfo_class_SessionHandler_open, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, close, arginfo_class_SessionHandler_close, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, read, arginfo_class_SessionHandler_read, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, write, arginfo_class_SessionHandler_write, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, destroy, arginfo_class_SessionHandler_destroy, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, gc, arginfo_class_SessionHandler_gc, ZEND_ACC_PUBLIC)
|
||||
ZEND_ME(SessionHandler, create_sid, arginfo_class_SessionHandler_create_sid, ZEND_ACC_PUBLIC)
|
||||
ZEND_FE_END
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user