Deprecated: Return type of obj::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/97Ki0 on line 18
Deprecated: Return type of obj::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/97Ki0 on line 24
Deprecated: Return type of obj::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/97Ki0 on line 11
Deprecated: Return type of obj::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/97Ki0 on line 21
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on int in /in/97Ki0 on line 33
NULL
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on int in /in/97Ki0 on line 34
NULL
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.18
Deprecated: Return type of obj::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/97Ki0 on line 18
Deprecated: Return type of obj::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/97Ki0 on line 24
Deprecated: Return type of obj::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/97Ki0 on line 11
Deprecated: Return type of obj::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/97Ki0 on line 21
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on value of type int in /in/97Ki0 on line 33
NULL
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on value of type int in /in/97Ki0 on line 34
NULL
Output for 8.0.0 - 8.0.30
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on value of type int in /in/97Ki0 on line 33
NULL
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Warning: Trying to access array offset on value of type int in /in/97Ki0 on line 34
NULL
Output for 7.4.0 - 7.4.25, 7.4.27 - 7.4.33
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Notice: Trying to access array offset on value of type int in /in/97Ki0 on line 33
NULL
array(4) {
["one"]=>
int(1)
["two"]=>
int(2)
["three"]=>
int(3)
[6]=>
int(7)
}
Notice: Trying to access array offset on value of type int in /in/97Ki0 on line 34
NULL