[Then chew about the fact that there is a brief design for numeric arrays]...to iterate through a numeric array of missing. [Yes, Yes. Nothing more. Further is shown a numerical array and a foreach without $value]<- There is a typo that viswajeet question
<?php
$array = array("asdasd", "YYY");
foreach($array as $dish =--> $value){
$array[$dish] = $array[$dish] . $array[$dish];
print $array[$dish];
}
?>
foreach($array as &$item) {
$item .= $item;
print($item);
}
for ($i = 0;$i < count($array), $i++){
$array[$i] .= $array[$i];
print($array);
}
Find more questions by tags PHP