element0 element1 element2 element3
<!-- copy Code -->
$elements = array("element0", "element1", "element2", "element3");
/* print array */
$array_length = count($elements);
for($i=0; $i<$array_length; $i++){
echo $elements[$i]." ";
}
<!-- end Code -->
Short | Full |
---|---|
Array Name | Define Array |
Array Elements | Define Array Elements |