any x <- [1, 2, 3, 4, 5] | < 5
Fatal error: Uncaught TypeError: any(): Argument #2 ($x) must be of type Clousure, Closure given, called in /in/UUe6i on line 29 and defined in /in/UUe6i:3
Stack trace:
#0 /in/UUe6i(29): any(Array, Object(Closure))
#1 {main}
thrown in /in/UUe6i on line 3
Process exited with code 255.
any x <- [1, 2, 3, 4, 5] | < 5
Fatal error: Uncaught TypeError: Argument 2 passed to any() must be an instance of Clousure, instance of Closure given, called in /in/UUe6i on line 29 and defined in /in/UUe6i:3
Stack trace:
#0 /in/UUe6i(29): any(Array, Object(Closure))
#1 {main}
thrown in /in/UUe6i on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
any x <- [1, 2, 3, 4, 5] | < 5
Catchable fatal error: Argument 2 passed to any() must be an instance of Clousure, instance of Closure given, called in /in/UUe6i on line 29 and defined in /in/UUe6i on line 3
Process exited with code 255.