I have an array:
$array = array(3=>'hi', 4=>'hello');
How can i start it from 0 i.e. $array = array(0=>'hi', 1=>'hello');
I tried using sort
but it sorted the values also which i dont want. I can do it using foreach
but i dont want to use loops. Is there any function or something?