<p class="sougouContent"> function b($name, &$value) 里面 $value 前面的& 是干啥的啊? </p> <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> http://www.baidu.com/s?wd=php%D2%FD%D3%C3 <br> PHP 引用 </p> <p class="sougouAnswer"> 引用传递 <br> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="sycode" name="code">function b($name, &$value) { $value = $name . $value;}$x = 'abc';$y = 123;b($x, $y);echo $y;//abc123</pre><div class="contentsignin">로그인 후 복사</div></div> </p>