← All docs

array_values()

Returns all the values of an array, re-indexed numerically.

array_values()

function array_values(array $array): array

Returns all the values of an array, re-indexed numerically.

Parameters:

  • $array (array)

Returns: array

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how array_values is implemented in the compiler, see the internals page.