Home >Backend Development >PHP Tutorial > 求人解释下这段代码,关于引用传递,该如何处理
求人解释下这段代码,关于引用传递
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> function demo(&$num){ echo $num++."<br>"; } $num=0; demo($num); demo($num); demo($num); demo($num);