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