Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable|array, stdClass given in /in/92r6a:4
Stack trace:
#0 /in/92r6a(4): iterator_to_array(Object(stdClass))
#1 {main}
thrown in /in/92r6a on line 4
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.31
Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable, stdClass given in /in/92r6a:4
Stack trace:
#0 /in/92r6a(4): iterator_to_array(Object(stdClass))
#1 {main}
thrown in /in/92r6a on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to iterator_to_array() must implement interface Traversable, instance of stdClass given in /in/92r6a:4
Stack trace:
#0 /in/92r6a(4): iterator_to_array(Object(stdClass))
#1 {main}
thrown in /in/92r6a on line 4
Process exited with code 255.
Output for 5.6.38
Catchable fatal error: Argument 1 passed to iterator_to_array() must implement interface Traversable, instance of stdClass given in /in/92r6a on line 4
Process exited with code 255.