php的function() use($args)用法


使用use返回 aaa aaa。使用函数传参数aaa bbb。

use的参数必须是已经存在的,如果没有定义返回Notice: Undefined variable: word ,使用函数参数方式不需要。

原文地址:https://www.cnblogs.com/mentalidade/p/6567824.html