Deprecated: Return type of ParameterReflection::getDeclaringFunction($reflectionClass = null) should either be compatible with ReflectionParameter::getDeclaringFunction(): ReflectionFunctionAbstract, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Z5E79 on line 28
Deprecated: Return type of ParameterReflection::getDeclaringClass() should either be compatible with ReflectionParameter::getDeclaringClass(): ?ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Z5E79 on line 9
Deprecated: Return type of ParameterReflection::getClass() should either be compatible with ReflectionParameter::getClass(): ?ReflectionClass, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Z5E79 on line 17
Deprecated: Return type of ParameterReflection::getType() should either be compatible with ReflectionParameter::getType(): ?ReflectionType, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Z5E79 on line 40
Deprecated: Optional parameter $one declared before required parameter $two is implicitly treated as a required parameter in /in/Z5E79 on line 89
Deprecated: Method ReflectionParameter::isArray() is deprecated in /in/Z5E79 on line 46
Deprecated: Method ReflectionParameter::getClass() is deprecated in /in/Z5E79 on line 19
bool(false)
NULL
Deprecated: Method ReflectionParameter::isArray() is deprecated in /in/Z5E79 on line 46
Deprecated: Method ReflectionParameter::getClass() is deprecated in /in/Z5E79 on line 19
bool(false)
NULL
Output for 8.0.0 - 8.0.30
Deprecated: Required parameter $two follows optional parameter $one in /in/Z5E79 on line 89
Deprecated: Method ReflectionParameter::isArray() is deprecated in /in/Z5E79 on line 46
Deprecated: Method ReflectionParameter::getClass() is deprecated in /in/Z5E79 on line 19
bool(true)
NULL
string(4) "null"
Deprecated: Method ReflectionParameter::isArray() is deprecated in /in/Z5E79 on line 46
Deprecated: Method ReflectionParameter::getClass() is deprecated in /in/Z5E79 on line 19
bool(false)
NULL
bool(true)
Fatal error: Uncaught exception 'ReflectionException' with message 'Parameter is not optional' in /in/Z5E79:62
Stack trace:
#0 /in/Z5E79(62): ReflectionParameter->getDefaultValue()
#1 /in/Z5E79(104): ParameterReflection->getType()
#2 {main}
thrown in /in/Z5E79 on line 62
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined method ParameterReflection::isArray() in /in/Z5E79 on line 46
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/Z5E79 on line 8
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/Z5E79 on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/Z5E79 on line 8
Process exited with code 255.