碰到PHP出现”Deprecated: Assigning the return value of new by reference is deprecated in“,百度以后得知是原先php版本可以使用=&,现在5.3以上不能使用”=&”符号,可以直接用”=”,删除&即可。
如果降级php肯定可以解决,但作为最新版本肯定是需要顺应潮流,所以只有在对程序中”=&”符号全部用”=”代替。
碰到PHP出现”Deprecated: Assigning the return value of new by reference is deprecated in“,百度以后得知是原先php版本可以使用=&,现在5.3以上不能使用”=&”符号,可以直接用”=”,删除&即可。
如果降级php肯定可以解决,但作为最新版本肯定是需要顺应潮流,所以只有在对程序中”=&”符号全部用”=”代替。
评论区