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