Deprecated: Return type of TypedArray::offsetSet($index, $newValue) should either be compatible with ArrayIterator::offsetSet(mixed $key, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/6ZHCZ on line 14
Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, string given in /in/6ZHCZ:17
Stack trace:
#0 /in/6ZHCZ(34): TypedArray->offsetSet(NULL, 'blah')
#1 {main}
thrown in /in/6ZHCZ on line 17
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, string given in /in/6ZHCZ:17
Stack trace:
#0 /in/6ZHCZ(34): TypedArray->offsetSet(NULL, 'blah')
#1 {main}
thrown in /in/6ZHCZ on line 17
Process exited with code 255.
Warning: get_class() expects parameter 1 to be object, string given in /in/6ZHCZ on line 17
Fatal error: Uncaught InvalidArgumentException: Expected instance of A got in /in/6ZHCZ:17
Stack trace:
#0 /in/6ZHCZ(34): TypedArray->offsetSet(NULL, 'blah')
#1 {main}
thrown in /in/6ZHCZ on line 17
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Warning: get_class() expects parameter 1 to be object, string given in /in/6ZHCZ on line 17
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Expected instance of A got ' in /in/6ZHCZ:17
Stack trace:
#0 /in/6ZHCZ(34): TypedArray->offsetSet(NULL, 'blah')
#1 {main}
thrown in /in/6ZHCZ on line 17
Process exited with code 255.