Deprecated: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /in/9cdKc on line 6
Deprecated: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /in/9cdKc on line 7
Deprecated: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /in/9cdKc on line 8
Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/9cdKc on line 10
Deprecated: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /in/9cdKc on line 11
Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/9cdKc on line 12
Fatal error: Uncaught TypeError: strcmp(): Argument #2 ($string2) must be of type string, array given in /in/9cdKc:16
Stack trace:
#0 /in/9cdKc(16): strcmp('foo', Array)
#1 {main}
thrown in /in/9cdKc on line 16
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: strcmp(): Argument #2 ($string2) must be of type string, array given in /in/9cdKc:16
Stack trace:
#0 /in/9cdKc(16): strcmp('foo', Array)
#1 {main}
thrown in /in/9cdKc on line 16
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: strcmp() expects parameter 2 to be string, array given in /in/9cdKc on line 16
Warning: strcmp() expects parameter 2 to be string, object given in /in/9cdKc on line 17
Warning: strcmp() expects parameter 1 to be string, object given in /in/9cdKc on line 18
int(0)
int(0)
int(0)
int(0)
int(0)
int(-1)
int(-2)
int(2)
int(-3)
int(3)
int(3)
int(54)
int(49)
NULL
NULL
NULL