PHP函数之可变函数
<?php
function func() {
echo 'my function called.';
}
$name = 'func';
//调用可变函数
$c = name($func);
$var = $func($var);
$a = $c + $b + $var = $name ();
<?php
function func() {
echo 'my function called.';
}
$name = 'func';
//调用可变函数
$c = name($func);
$var = $func($var);
$a = $c + $b + $var = $name ();
2016-12-27
举报