- Output for 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
- object(Generator)#1 (1) { ["function"]=> string(9) "generator" } array ( 'x' => 1, 0 => 2, 1 => 3, )
- Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30
- object(Generator)#1 (0) { } array ( 'x' => 1, 0 => 2, 1 => 3, )
- Output for 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
- object(Generator)#1 (0) {
}
Fatal error: Uncaught Error: Cannot unpack Traversable with string keys in /in/UkdLD:14
Stack trace:
#0 {main}
thrown in /in/UkdLD on line 14
Process exited with code 255. - Output for 7.3.0 - 7.3.33
- Parse error: syntax error, unexpected '...' (T_ELLIPSIS), expecting ']' in /in/UkdLD on line 14
Process exited with code 255.