Deprecated: Return type of MyFixedArray::offsetGet($offset) should either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/u0QIi on line 4
Fatal error: Uncaught TypeError: ArrayObject::__construct(): Argument #1 ($array) must be of type array, int given in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: ArrayObject::__construct(): Argument #1 ($array) must be of type array, int given in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Fatal error: Uncaught InvalidArgumentException: Passed variable is not an array or object in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Output for 7.0.0 - 7.0.17, 7.1.0 - 7.1.3
Fatal error: Uncaught InvalidArgumentException: Passed variable is not an array or object, using empty array instead in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Passed variable is not an array or object, using empty array instead' in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Output for 5.0.5
Fatal error: Uncaught exception 'Exception' with message 'Passed variable is not an array or object, using empty array instead' in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): ArrayObject->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Output for 5.0.4
Fatal error: Uncaught exception 'Exception' with message 'Passed variable is not an array or object, using empty array instead' in /in/u0QIi:7
Stack trace:
#0 /in/u0QIi(7): MyFixedArray->__construct(10)
#1 {main}
thrown in /in/u0QIi on line 7
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Warning: ArrayObject::__construct(): Passed variable is not an array or object, using empty array instead in /in/u0QIi on line 7
Process exited with code 139.
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/u0QIi on line 4
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/u0QIi on line 4
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/u0QIi on line 4
Process exited with code 255.