-1

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\user\adodb\adodb-xmlschema.inc.php on line 385

$this->data =& new dbData( $this, $attributes );
4

2 回答 2

5
$this->data =& new dbData( $this, $attributes );

这是旧的 PHP4 样式代码,用于在将对象分配给另一个变量时防止对象复制。使用经过改进的 PHP5,您可以简单地使用:

$this->data = new dbData( $this, $attributes );
于 2013-02-19T06:42:24.133 回答
3

更改该行,使其显示为$this->data = new dbData( $this, $attributes );

于 2013-02-19T06:38:40.407 回答