3 ms·
PHP 8.1 even has a function to tell the difference between list-like arrays and associative arrays: array_is_list().
by duskwuff 5y ago
PHP 8.1 even has a function to tell the difference between list-like arrays and associative arrays: array_is_list().