Fatal error: Uncaught TypeError: array_shift(): Argument #1 ($array) must be of type array, null given in /in/InYQq:4
Stack trace:
#0 /in/InYQq(4): array_shift(NULL)
#1 {main}
thrown in /in/InYQq on line 4
Process exited with code 255.
Warning: array_shift() expects parameter 1 to be array, null given in /in/InYQq on line 4
bool(false)
Notice: Undefined offset: 0 in /in/InYQq on line 7
Notice: Trying to get property 'something' of non-object in /in/InYQq on line 7
bool(false)
Output for 7.3.32 - 7.3.33, 7.4.26
Warning: array_shift() expects parameter 1 to be array, null given in /in/InYQq on line 4
bool(false)
bool(false)
Warning: array_shift() expects parameter 1 to be array, null given in /in/InYQq on line 4
bool(false)
Notice: Undefined offset: 0 in /in/InYQq on line 7
Notice: Trying to get property of non-object in /in/InYQq on line 7
bool(false)
Warning: array_shift(): The argument should be an array in /in/InYQq on line 4
bool(false)
Notice: Undefined offset: 0 in /in/InYQq on line 7
Notice: Trying to get property of non-object in /in/InYQq on line 7
bool(false)
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Warning: array_shift(): The argument should be an array in /in/InYQq on line 4
bool(false)
Notice: Undefined offset: 0 in /in/InYQq on line 7
bool(false)
Output for 4.3.0 - 4.3.1
Warning: array_shift() [http://www.php.net/function.array-shift]: The argument should be an array in /in/InYQq on line 4
bool(false)
Notice: Undefined offset: 0 in /in/InYQq on line 7
bool(false)