object(ArrayIterator)#1 (4) {
["recipe"]=>
string(8) "pancakes"
[0]=>
string(3) "egg"
[1]=>
string(4) "milk"
[2]=>
string(5) "flour"
}
Warning: iterator_to_array() expects exactly 1 parameter, 2 given in /in/YRI6n on line 4
bool(false)
Warning: iterator_to_array() expects exactly 1 parameter, 2 given in /in/YRI6n on line 5
bool(false)
Output for 5.0.0 - 5.0.5
object(ArrayIterator)#1 (4) {
["recipe"]=>
string(8) "pancakes"
[0]=>
string(3) "egg"
[1]=>
string(4) "milk"
[2]=>
string(5) "flour"
}
Fatal error: Call to undefined function iterator_to_array() in /in/YRI6n on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: arrayiterator in /in/YRI6n on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: arrayiterator in /in/YRI6n on line 2