看手册的 章 18. 类与对象(PHP 4)
解决方案 »
- 用mysqld来启动mysql没有反应
- 全局变量,生命周期和APACHE相同的有哪几个对象可以使用
- 唠叨大哥帮忙看下啊~~win下建立扩展总是出错
- 菜鸟提问~!php运行问题
- 当mysql 有20W条中文数据!如何写搜索程序!
- php5.0.4配置文件简体中文版php.ini (小弟E文水平一般,不妥之处请各位大侠指正)
- 语句定时执行
- PHPMailer的STMP发邮件 533报错
- 我提交验证码后为什么不能正常登录到后台主页,恳请大神指点!
- 为什么无法关键外部样式?新手自学,有没有老鸟指点下
- 如何解决c:\mysql\share\charsets\?.conf' not found (Errcode: 2)...的错误?
- 广州招聘PHP工程师
var $tPaths; function setPaths( $paths ){
$this->tPaths = $paths;
}
}class Paths{
var $root,$path,$filename;
var $paths; function setPaths($p){
list($this->root,$this->path,$this->filename) = $p;
}
}$p = array('c://','windows/','regedit.exe');
$paths = new Paths();$paths->setPaths($p);$temp = new TempPaths();$temp->setPaths($paths);echo $temp->tPaths->root;
echo $temp->tPaths->path;
echo $temp->tPaths->filename;
Then what's the meaning of using another function in a function called by a third function ?
It is for application.