Related Functions

array_values

PHP 4.0+

Returns all values from an array with sequential numeric keys, effectively reindexing the array while preserving value order.

Description

The array_values() Returns all values from an array with sequential numeric keys, effectively reindexing the array while preserving value order.

Example