示范用法的更多例子:. <?php /* foreach 示例1:仅value */ $a = array(1, 2, 3, 17); foreach ($a as $v) { echo "Current value of \$a: $v.\n"; }
確定! 回上一頁