array_values : Array Function : Data Structure PHP Source Code


PHP Source Code » Data Structure » Array Function »

 

array_values



<?php
   $population = array("Ohio" => "11,421,267""Iowa" => "2,936,760");
   $popvalues = array_values($population);
   print_r($popvalues);
   // Array ( [0] => 11,421,267 [1] => 2,936,760 )
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Data Structure
» Array Function