Array
(
[0] => a
[1] => b
[3] => d
[4] => e
)
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /in/tCIjk:5
Stack trace:
#0 /in/tCIjk(5): array_keys('a')
#1 /in/tCIjk(13): isIndexedArray('a')
#2 {main}
thrown in /in/tCIjk on line 5
Process exited with code 255.
Array
(
[0] => a
[1] => b
[3] => d
[4] => e
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/tCIjk on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/tCIjk on line 5
Warning: count(): Parameter must be an array or an object that implements Countable in /in/tCIjk on line 5
bool(true)
Fatal error: Uncaught Error: Call to undefined function isSequentialArray() in /in/tCIjk:14
Stack trace:
#0 {main}
thrown in /in/tCIjk on line 14
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20
Array
(
[0] => a
[1] => b
[3] => d
[4] => e
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/tCIjk on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/tCIjk on line 5
bool(true)
Fatal error: Uncaught Error: Call to undefined function isSequentialArray() in /in/tCIjk:14
Stack trace:
#0 {main}
thrown in /in/tCIjk on line 14
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Array
(
[0] => a
[1] => b
[3] => d
[4] => e
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/tCIjk on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/tCIjk on line 5
bool(true)
Fatal error: Call to undefined function isSequentialArray() in /in/tCIjk on line 14
Process exited with code 255.