Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 0 passed in /in/1SP3H on line 13 and exactly 1 expected in /in/1SP3H:3
Stack trace:
#0 /in/1SP3H(13): foo()
#1 {main}
thrown in /in/1SP3H on line 3
Process exited with code 255.
Notice: Undefined variable: errors in /in/1SP3H on line 9
Warning: array_search() expects parameter 2 to be array, null given in /in/1SP3H on line 9
: Missing argument 1 for foo(), called in /in/1SP3H on line 13 and defined