본문 바로가기

php

php foreach as

1
2
3
4
5
6
7
<?php
$s = array(80,90,100,110,120);
 
foreach($s as $d)
    echo "$d, "
 
?>
cs