在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
正确: <?php $arr = array( "a" => array( "a" => "1", ), ); foreach ($arr as $a => &$trdata) { $trdata['b'] = $trdata['a']; } var_dump($arr); ?> 错误: <?php $arr = array( "a" => array( "a" => "1", ), ); foreach ($arr as $a => $trdata) { $trdata['b'] = $trdata['a']; } var_dump($arr); ?>
|
2022-07-18
2022-08-17
2022-11-06
2022-07-08
2022-08-17
请发表评论