Deprecated: Optional parameter $a declared before required parameter $b is implicitly treated as a required parameter in /in/Vt58g on line 2
Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 1 passed in /in/Vt58g on line 7 and exactly 2 expected in /in/Vt58g:2
Stack trace:
#0 /in/Vt58g(7): foo(0)
#1 {main}
thrown in /in/Vt58g on line 2
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Deprecated: Required parameter $b follows optional parameter $a in /in/Vt58g on line 2
Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 1 passed in /in/Vt58g on line 7 and exactly 2 expected in /in/Vt58g:2
Stack trace:
#0 /in/Vt58g(7): foo(0)
#1 {main}
thrown in /in/Vt58g on line 2
Process exited with code 255.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo(), 1 passed in /in/Vt58g on line 7 and exactly 2 expected in /in/Vt58g:2
Stack trace:
#0 /in/Vt58g(7): foo(0)
#1 {main}
thrown in /in/Vt58g on line 2
Process exited with code 255.