Return all the values of an array : array_values « Data Structure « PHP
- PHP
- Data Structure
- array_values
Return all the values of an array
<?
$array = array("size" => "XL", "color" => "gold");
array_values($array);
?>
Related examples in the same category