Return to Snippet

Revision: 41905
at February 24, 2011 17:18 by f6design


Initial Code
$my_arr = array_values($my_arr);

Initial URL

                                

Initial Description
Re-indexes an array so that the array keys count up from zero. This is useful if you have previously removed some array nodes.

Initial Title
Re-index an array

Initial Tags
array

Initial Language
PHP