PHP在foreach中对$value赋值


foreach ($data as $key => $value) {
$data[$key]['name'] = '测试在value中赋值';
}
posted @ 2019-03-13 09:12  Ares0023  阅读(427)  评论(0编辑  收藏  举报