php概念-变量函数
php概念--变量函数
这与写 zhang()一样;
$show = 'noname';
$show(Harry); // 这与编写noname('Harry') 一样;
?>
?变量函数是php最优秀的功能,在一个变量名后面附加()后,php就会尝试寻找具有相同名称的函数并试图执行它。
1 楼
lanlansnss
2012-03-05
{$show}('harry');
2 楼
lanlansnss
2012-03-05
博客非常的好,尤其是js部分。特别的细致。
PHP之友评论