标签:
1 public function fn1(){ 2 global $str; 3 $str=‘liuman‘; 4 function fn2(){ 5 echo $GLOBALS[‘str‘]; 6 } 7 }
php函数嵌套
原文地址:http://www.cnblogs.com/lman/p/4641790.html