Deprecated: Return type of & Thing::offsetGet($index) should either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/KVqfH on line 15
Deprecated: Return type of Thing::offsetSet($index, $value) should either be compatible with ArrayObject::offsetSet(mixed $key, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/KVqfH on line 10
Notice: Only variable references should be returned by reference in /in/KVqfH on line 19
object(Thing)#1 (1) {
["storage":"ArrayObject":private]=>
array(1) {
["dynamic"]=>
NULL
}
}
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Deprecated: Return type of & Thing::offsetGet($index) should either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/KVqfH on line 15
Deprecated: Return type of Thing::offsetSet($index, $value) should either be compatible with ArrayObject::offsetSet(mixed $key, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/KVqfH on line 10
Notice: Only variable references should be returned by reference in /in/KVqfH on line 19
object(Thing)#1 (1) {
["storage":"ArrayObject":private]=>
array(1) {
["dynamic"]=>
NULL
}
}
Notice: Only variable references should be returned by reference in /in/KVqfH on line 19
object(Thing)#1 (1) {
["storage":"ArrayObject":private]=>
array(1) {
["dynamic"]=>
NULL
}
}