在Node.php的441行有个如下的函数: function &cloneNode($deep) { return $this->cloneNode($deep, null); } 当时我想下面453的function &cloneNode($deep, $ownerDocument = null) 是方法重写,看来是错了。 The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions. The solution is simple: 把上面441行那个函数注释就可以了。 谢谢:genuis,uGain! 希望以后进一步得到你们的指点!
在Node.php的441行有个如下的函数: function &cloneNode($deep) { return $this->cloneNode($deep, null); } 当时我想下面453的function &cloneNode($deep, $ownerDocument = null) 是方法重写,看来是错了。 The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions. The solution is simple: 把上面441行那个函数注释就可以了。 谢谢:genuis,uGain! 希望以后进一步得到你们的指点!
function &cloneNode($deep) {
return $this->cloneNode($deep, null);
}
当时我想下面453的function &cloneNode($deep, $ownerDocument = null) 是方法重写,看来是错了。
The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions.
The solution is simple: 把上面441行那个函数注释就可以了。
谢谢:genuis,uGain!
希望以后进一步得到你们的指点!
function &cloneNode($deep) {
return $this->cloneNode($deep, null);
}
当时我想下面453的function &cloneNode($deep, $ownerDocument = null) 是方法重写,看来是错了。
The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions.
The solution is simple: 把上面441行那个函数注释就可以了。
谢谢:genuis,uGain!
希望以后进一步得到你们的指点!