阅读背景:

在foreach循环中更新数组值

来源:互联网 

I have this piece of code :

我有这段代码:

$start = ['23','', 'what'];
foreach($start as $i){
  if($i ==''){
    $i = 'satisfaction';
  }
}
print_r($start);
$start 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: