I have a PHP array that looks like this:
[3] => Hello [7] => Moo [45] => America
What PHP function makes this?
[0]
If you want to reset the key count of the array for some reason;
$array1 = [ [3] => 'Hello', [7] => 'Moo', [45] => 'America' ]; $array1 = array_merge($array1); print_r($array1);
Output:
Array( [0] => 'Hello', [1] => 'Moo', [2] => 'America' )