string(18) "1:Moscow,2:Jupiter"
string(18) "1:Moscow,2:Jupiter"
Warning: Undefined variable $badPorts in /in/pXiNj on line 23
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /in/pXiNj:23
Stack trace:
#0 /in/pXiNj(23): in_array('Day At Sea', NULL)
#1 [internal function]: {closure}(Array, Array)
#2 /in/pXiNj(22): array_reduce(Array, Object(Closure), Array)
#3 {main}
thrown in /in/pXiNj on line 23
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
string(18) "1:Moscow,2:Jupiter"
string(18) "1:Moscow,2:Jupiter"
Warning: Undefined variable $badPorts in /in/pXiNj on line 23
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /in/pXiNj:23
Stack trace:
#0 /in/pXiNj(23): in_array('Day At Sea', NULL)
#1 [internal function]: {closure}(Array, Array)
#2 /in/pXiNj(25): array_reduce(Array, Object(Closure), Array)
#3 {main}
thrown in /in/pXiNj on line 23
Process exited with code 255.
string(18) "1:Moscow,2:Jupiter"
string(18) "1:Moscow,2:Jupiter"
Notice: Undefined variable: badPorts in /in/pXiNj on line 23
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
Notice: Undefined variable: badPorts in /in/pXiNj on line 23
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
Notice: Undefined variable: badPorts in /in/pXiNj on line 23
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
string(31) "0:Day At Sea,0:Moscow,0:Jupiter"
Output for 7.3.32 - 7.3.33, 7.4.26
string(18) "1:Moscow,2:Jupiter"
string(18) "1:Moscow,2:Jupiter"
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
Warning: in_array() expects parameter 2 to be array, null given in /in/pXiNj on line 23
string(31) "0:Day At Sea,0:Moscow,0:Jupiter"
Output for 5.2.3 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/pXiNj on line 7
Process exited with code 255.