今天把php升级到php5.3之后出现在使用 =& 时提示PHP错误Deprecated: Assigning the return value of new by reference is deprecated in了,后来找了一些才发php5.3不支持=&了。
首页 >
deprecated:
Deprecated: Function session_register() is deprecated
今天在换了Php环境后我们发现有Deprecated: Function session_register() is deprecated错误提示了,我们先来看代码:
查了一下出现这个问题的地方不多,找到了另外一个方法,直接把
Deprecated: Function set_magic_quotes_runtime()
原因分析:最近升级了PHP版本,新版本的PHP对set_magic_quotes_runtime()已经关闭在PHP5.3后此特性(set_magic_quotes_runtime())已经关闭,而且在PHP6中已经完全移除此特性。