array_walk配合传址修改元素值 21 Nov 2011 in php - Hits()<?php $a = array(1,2,3); function fc(&$v){ $v +=1; } array_walk(&$a,'fc'); var_dump ($a); ?>