Deprecated: Return type of ArrayStorage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 21
Deprecated: Return type of ArrayStorage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 31
Deprecated: Return type of ArrayStorage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 26
Deprecated: Return type of ArrayStorage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 36
Deprecated: Return type of ArrayStorage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 16
Deprecated: Return type of ArrayStorage::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 53
Deprecated: Return type of ArrayStorage::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 63
Deprecated: Return type of ArrayStorage::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 41
Deprecated: Return type of ArrayStorage::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 58
0 =>
\Foo::__set_state(array(
))
baz =>
\Foo::__set_state(array(
))
Fatal error: Uncaught Exception: Storage allows only Foo instances in /in/4jWtD:44
Stack trace:
#0 /in/4jWtD(80): ArrayStorage->offsetSet('bee', Object(Bar))
#1 {main}
thrown in /in/4jWtD on line 44
Process exited with code 255.
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 8.1.0 - 8.1.33
Deprecated: Return type of ArrayStorage::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 21
Deprecated: Return type of ArrayStorage::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 31
Deprecated: Return type of ArrayStorage::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 26
Deprecated: Return type of ArrayStorage::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 36
Deprecated: Return type of ArrayStorage::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 16
Deprecated: Return type of ArrayStorage::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 53
Deprecated: Return type of ArrayStorage::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 63
Deprecated: Return type of ArrayStorage::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 41
Deprecated: Return type of ArrayStorage::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4jWtD on line 58
0 =>
Foo::__set_state(array(
))
baz =>
Foo::__set_state(array(
))
Fatal error: Uncaught Exception: Storage allows only Foo instances in /in/4jWtD:44
Stack trace:
#0 /in/4jWtD(80): ArrayStorage->offsetSet('bee', Object(Bar))
#1 {main}
thrown in /in/4jWtD on line 44
Process exited with code 255.