php 数组

1数组遍历之foreach as

$array = [1,2,3];
foreach ($array as $item){
echo $item;
}
原文地址:https://www.cnblogs.com/sontan/p/7001948.html