Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 0 passed in /in/qh98o on line 9 and exactly 1 expected in /in/qh98o:5
Stack trace:
#0 /in/qh98o(9): foo()
#1 {main}
thrown in /in/qh98o on line 5
Process exited with code 255.
Warning: Missing argument 1 for foo(), called in /in/qh98o on line 9 and defined in /in/qh98o on line 5
Notice: Undefined variable: bar in /in/qh98o on line 6