Array
(
[1] => 0
[2] => 0
[3] => 0
[4] => 0
[5] => 0
[6] => 0
[0] => 0
)
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /in/jEhUg:5
Stack trace:
#0 /in/jEhUg(5): array_keys('a')
#1 /in/jEhUg(11): isIndexedArray('a')
#2 {main}
thrown in /in/jEhUg on line 5
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Array
(
[1] => 0
[2] => 0
[3] => 0
[4] => 0
[5] => 0
[6] => 0
[0] => 0
)
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /in/jEhUg:5
Stack trace:
#0 /in/jEhUg(5): array_keys('a')
#1 /in/jEhUg(11): isIndexedArray('a')
#2 {main}
thrown in /in/jEhUg on line 5
Process exited with code 255.
Array
(
[1] => 0
[2] => 0
[3] => 0
[4] => 0
[5] => 0
[6] => 0
[0] => 0
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/jEhUg on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/jEhUg on line 5
Warning: count(): Parameter must be an array or an object that implements Countable in /in/jEhUg on line 5
bool(true)
Fatal error: Uncaught Error: Call to undefined function isSequentialArray() in /in/jEhUg:12
Stack trace:
#0 {main}
thrown in /in/jEhUg on line 12
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20
Array
(
[1] => 0
[2] => 0
[3] => 0
[4] => 0
[5] => 0
[6] => 0
[0] => 0
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/jEhUg on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/jEhUg on line 5
bool(true)
Fatal error: Uncaught Error: Call to undefined function isSequentialArray() in /in/jEhUg:12
Stack trace:
#0 {main}
thrown in /in/jEhUg on line 12
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Array
(
[1] => 0
[2] => 0
[3] => 0
[4] => 0
[5] => 0
[6] => 0
[0] => 0
)
Warning: array_keys() expects parameter 1 to be array, string given in /in/jEhUg on line 5
Warning: array_filter() expects parameter 1 to be array, null given in /in/jEhUg on line 5
bool(true)
Fatal error: Call to undefined function isSequentialArray() in /in/jEhUg on line 12
Process exited with code 255.