PHP显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法

定位到出错的那一行:

$this->_ole =& new OLERead();

出错原因:php版本,php5.3开始后,废除了php中的”=&”符号,所以要想复制,直接用=引用即可

猜你喜欢

转载自blog.csdn.net/qq_39516866/article/details/81458563