Fatal error: Uncaught ArgumentCountError: Too few arguments to function Acme\Collection::Acme\{closure}(), 1 passed and exactly 2 expected in /in/WIeXp:62
Stack trace:
#0 [internal function]: Acme\Collection::Acme\{closure}('one')
#1 /in/WIeXp(11): call_user_func(Object(Closure), 'one')
#2 /in/WIeXp(82): Acme\Collection->filter(Object(Closure))
#3 {main}
thrown in /in/WIeXp on line 62
Process exited with code 255.
Output for 7.0.0 - 7.0.33
Warning: Missing argument 2 for Acme\Collection::Acme\{closure}() in /in/WIeXp on line 62
Notice: Undefined variable: value in /in/WIeXp on line 63
Warning: is_string() expects exactly 1 parameter, 2 given in /in/WIeXp on line 63
Warning: Missing argument 2 for Acme\Collection::Acme\{closure}() in /in/WIeXp on line 62
Notice: Undefined variable: value in /in/WIeXp on line 63
Warning: is_string() expects exactly 1 parameter, 2 given in /in/WIeXp on line 63
Warning: Missing argument 2 for Acme\Collection::Acme\{closure}() in /in/WIeXp on line 62
Notice: Undefined variable: value in /in/WIeXp on line 63
Warning: is_string() expects exactly 1 parameter, 2 given in /in/WIeXp on line 63
Warning: Missing argument 2 for Acme\Collection::Acme\{closure}() in /in/WIeXp on line 62
Notice: Undefined variable: value in /in/WIeXp on line 63
Warning: is_string() expects exactly 1 parameter, 2 given in /in/WIeXp on line 63
Warning: Missing argument 2 for Acme\Collection::Acme\{closure}() in /in/WIeXp on line 62
Notice: Undefined variable: value in /in/WIeXp on line 63
Warning: is_string() expects exactly 1 parameter, 2 given in /in/WIeXp on line 63
Notice: Trying to get property of non-object in /in/WIeXp on line 58
Notice: Trying to get property of non-object in /in/WIeXp on line 58
Notice: Trying to get property of non-object in /in/WIeXp on line 58
0_1_2_3_4
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Warning: Unsupported declare 'strict_types' in /in/WIeXp on line 1
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/WIeXp on line 9
Process exited with code 255.