Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/HVdO8:14
Stack trace:
#0 /in/HVdO8(34): f(Object(SimpleXMLIterator))
#1 {main}
thrown in /in/HVdO8 on line 14
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /in/HVdO8:14
Stack trace:
#0 /in/HVdO8(34): f(Object(SimpleXMLIterator))
#1 {main}
thrown in /in/HVdO8 on line 14
Process exited with code 255.
Warning: count(): Parameter must be an array or an object that implements Countable in /in/HVdO8 on line 14
Array
(
[body] => Array
(
[attributes] => Array
(
[@attributes] => Array
(
[test2] => 321
[test3] => 987
)
)
)
)