Using_the array_shift () Function : Array Function : Data Structure PHP Source Code


PHP Source Code » Data Structure » Array Function »

 

Using_the array_shift () Function




 <?php
  $music = array ("A""B""C""D");
  while (count ($music)) {
     $somevalue = array_shift ($music);
     echo "$somevalue""<BR>";
     echo count ($music);
     echo "<BR>";
  }
  ?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Data Structure
» Array Function