![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
class man
{
public $obj_method;
}
$single_man = new man();
$single_man->obj_method=create_function('','return "aaaa";');
这样写对吗?
$single_man->obj_method=function() {
$args = func_get_args();
if ($args) return $args;
return 0;
}
这样写对吗?
对php5熟悉的兄弟给的解答.
提问者:蟋蟀 08-22 16:04
答复

