Fatal error: Uncaught TypeError: foo(): Argument #3 ($z) must be of type ?int, string given, called in /in/bIDtq on line 12 and defined in /in/bIDtq:5
Stack trace:
#0 /in/bIDtq(12): foo(5, 2, 'a')
#1 {main}
thrown in /in/bIDtq on line 5
Process exited with code 255.