基于CakePHP的项目抛出错误,说“参考文献已弃用,返回值为新”

前端之家收集整理的这篇文章主要介绍了基于CakePHP的项目抛出错误,说“参考文献已弃用,返回值为新”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已将Xampp升级到更新版本(1.7.2).但是现在当我运行我的项目(在Cake PHP中完成)时,它正在抛出bug说
Deprecated: Assigning the return value of new by reference is deprecated in
C:\xampp\htdocs\ebayn\cake\libs\debugger.PHP on line 99

Deprecated: Assigning the return value of new by reference is deprecated in 
C:\xampp\htdocs\ebayn\cake\libs\debugger.PHP on line 108

Deprecated: Assigning the return value of new by reference is deprecated in 
C:\xampp\htdocs\ebayn\cake\libs\file.PHP on line 96

Deprecated: Assigning the return value of new by reference is deprecated in
C:\xampp\htdocs\ebayn\cake\libs\cache\file.PHP on line 89

任何人都可以帮助我,我怎么能纠正这些东西…. ???

提前致谢

你没有提到你的CakePHP版本,但如果你使用PHP 5.3(它是Xampp 1.7.2的一部分),那么你必须使用CakePHP 1.3.x.x.
原文链接:https://www.f2er.com/php/132621.html

猜你在找的PHP相关文章