Fatal error: Uncaught TypeError: my_func(): Argument #1 ($n) must be of type int, string given, called in /in/bNS0e on line 8 and defined in /in/bNS0e:4
Stack trace:
#0 /in/bNS0e(8): my_func('6')
#1 {main}
thrown in /in/bNS0e on line 4
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to my_func() must be of the type int, string given, called in /in/bNS0e on line 8 and defined in /in/bNS0e:4
Stack trace:
#0 /in/bNS0e(8): my_func('6')
#1 {main}
thrown in /in/bNS0e on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to my_func() must be of the type integer, string given, called in /in/bNS0e on line 8 and defined in /in/bNS0e:4
Stack trace:
#0 /in/bNS0e(8): my_func('6')
#1 {main}
thrown in /in/bNS0e on line 4
Process exited with code 255.