Fatal error: Uncaught TypeError: sort(): Argument #1 ($array) must be of type array, null given in /in/k1aIf:23
Stack trace:
#0 /in/k1aIf(23): sort(NULL)
#1 /in/k1aIf(37): mergeArray(Array, Array)
#2 {main}
thrown in /in/k1aIf on line 23
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught TypeError: sort(): Argument #1 ($array) must be of type array, null given in /in/k1aIf:23
Stack trace:
#0 /in/k1aIf(23): sort(NULL)
#1 /in/k1aIf(42): mergeArray(Array, Array)
#2 {main}
thrown in /in/k1aIf on line 23
Process exited with code 255.
Warning: sort() expects parameter 1 to be array, null given in /in/k1aIf on line 23
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined variable: arrMerged in /in/k1aIf on line 34
Output for 7.3.32 - 7.3.33
Warning: sort() expects parameter 1 to be array, null given in /in/k1aIf on line 23
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Warning: sort() expects parameter 1 to be array, null given in /in/k1aIf on line 23
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined index: arr2 in /in/k1aIf on line 27
Notice: Undefined variable: arrMerged in /in/k1aIf on line 34
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /in/k1aIf on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /in/k1aIf on line 2
Process exited with code 255.