Fatal error: Uncaught TypeError: foo(): Argument #1 ($s) must be of type string, null given, called in /in/lbF4h on line 5 and defined in /in/lbF4h:3
Stack trace:
#0 /in/lbF4h(5): foo(NULL)
#1 {main}
thrown in /in/lbF4h on line 3
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be of the type string, null given, called in /in/lbF4h on line 5 and defined in /in/lbF4h:3
Stack trace:
#0 /in/lbF4h(5): foo(NULL)
#1 {main}
thrown in /in/lbF4h on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to foo() must be an instance of string, null given, called in /in/lbF4h on line 5 and defined in /in/lbF4h on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to foo() must not be null, called in /in/lbF4h on line 5 and defined in /in/lbF4h on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Argument 1 must not be null in /in/lbF4h on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/lbF4h on line 3
Process exited with code 255.