array in php example August 12, 2012 Php Program: array.php <?php $myarray=array(1,2,3,4, 5 => 11, 26 => 2,5, 11 => 10); print_r($myarray); ?> Output: Thanks for reading this post…………!!! Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to email a link to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Related Leave a comment