zdw999
中级会员
 
UID 81322
精华
0
积分 303
帖子 226
金钱 303 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2006-10-10
状态 离线
|
[广告]: 代充Paypal帐号美元
来帮小弟看看这段类结构函数哪错了
<?php class A { public $_template = '';
function __construct($tpl) { $this->A($tpl); }
function A($tpl) { $this->_template = $tpl; } } ?> 在PHP5下运行正常,但是一zend就提示如下错误了
Redefining already defined constructor for class xxx
[ 本帖最后由 zdw999 于 2007-6-13 12:19 AM 编辑 ]
|
|