func(): Argument #1 ($foo) must be of type string, null given, called in /in/WZdQC on line 8
func(): Argument #1 ($foo) must be of type string, array given, called in /in/WZdQC on line 14
func(): Argument #1 ($foo) must be of type string, stdClass given, called in /in/WZdQC on line 20
func(): Argument #1 ($foo) must be of type string, resource given, called in /in/WZdQC on line 26
Argument 1 passed to func() must be of the type string, null given, called in /in/WZdQC on line 8
Argument 1 passed to func() must be of the type string, array given, called in /in/WZdQC on line 14
Argument 1 passed to func() must be of the type string, object given, called in /in/WZdQC on line 20
Argument 1 passed to func() must be of the type string, resource given, called in /in/WZdQC on line 26
Catchable fatal error: Argument 1 passed to func() must be an instance of string, null given, called in /in/WZdQC on line 8 and defined in /in/WZdQC on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to func() must not be null, called in /in/WZdQC on line 8 and defined in /in/WZdQC 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/WZdQC 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/WZdQC on line 3
Process exited with code 255.