09-arrays/index.php

Go to the documentation of this file.
00001 <?php
00017 function main()
00018 {
00019     $array1["zero"]=0;
00020     $array1["one"]=1;
00021     $array1["two"]=2;
00022     $array1["three"]=3;
00023     
00024     foreach ($array1 as $key => $value)
00025     {
00026         echo "In \$array1 key $key has value $value<br/>\n";
00027     }
00028 }
00029 
00030 main();
00031 
00032 ?>

Generated on Fri Nov 4 14:16:54 2011 for PHP example documentation by  doxygen 1.4.7