代码:
class SplitWord{
//php4构造函数
function SplitWord(){
 $this->__construct();
}
//php5构造函数
function __construct(){ ...}
...
}
之前正常运行,今天则报错:
出错信息:Redefining already defined constructor for class SplitWord
出错文件:E:\Peace\webs\08tools\imps\Peace\SplitWord.cls.php
错误行:44
错误级别:E_STRICT
44行指向: function __construct() 

根据提示,去掉了 function SplitWord() 正常了!