回调函数 闭包

$a=1;

return ($b=$a);//返回的$b,先赋值后返回。

匿名函数又叫闭包函数

posted @ 2017-06-16 20:02  tianxige  阅读(277)  评论(0)    收藏  举报