Fatal error: Uncaught ArgumentCountError: Too few arguments to function hello::foo(), 0 passed in /in/bBhvD on line 14 and exactly 1 expected in /in/bBhvD:6
Stack trace:
#0 /in/bBhvD(14): hello->foo()
#1 {main}
thrown in /in/bBhvD on line 6
Process exited with code 255.
Warning: Missing argument 1 for hello::foo(), called in /in/bBhvD on line 14 and defined in /in/bBhvD on line 6
Notice: Undefined variable: a in /in/bBhvD on line 9
2
Output for 5.0.0 - 5.0.5
Warning: Missing argument 1 for hello::foo() in /in/bBhvD on line 6
2
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
Warning: Missing argument 1 for foo() in /in/bBhvD on line 6
2