Deprecated: Return type of ArrayAccessable::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/tAHRR on line 15
Deprecated: Return type of ArrayAccessable::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/tAHRR on line 20
Deprecated: Return type of ArrayAccessable::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/tAHRR on line 25
Deprecated: Return type of ArrayAccessable::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/tAHRR on line 34
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["e"]=>
string(5) "assoc"
}
}
string(7) "unset: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(4) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
}
}
string(5) "set: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["meta"]=>
string(18) "additional element"
}
}
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, ArrayAccessable given in /in/tAHRR:49
Stack trace:
#0 {main}
thrown in /in/tAHRR on line 49
Process exited with code 255.
Output for 8.0.10 - 8.0.30
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["e"]=>
string(5) "assoc"
}
}
string(7) "unset: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(4) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
}
}
string(5) "set: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["meta"]=>
string(18) "additional element"
}
}
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, ArrayAccessable given in /in/tAHRR:49
Stack trace:
#0 {main}
thrown in /in/tAHRR on line 49
Process exited with code 255.
Output for 8.0.0 - 8.0.9
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["e"]=>
string(5) "assoc"
}
}
string(7) "unset: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(4) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
}
}
string(5) "set: "
object(ArrayAccessable)#1 (1) {
["_container":protected]=>
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
["meta"]=>
string(18) "additional element"
}
}
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, ArrayAccessable given in /in/tAHRR:49
Stack trace:
#0 {main}
thrown in /in/tAHRR on line 49
Process exited with code 255.