飞龙博客

feilong.org 前端开发教程

wordpress PHP5 Assigning return value new reference deprecated

飞龙修订于 20100309 09:58 83 次浏览

When installing wordpress2.3.3 in PHP 5.3.0 MySQL 5.1.36 Apache 2.2.11,that is an upgraded php server, I received the following errors:

Deprecated: Assigning the return value of new by reference is deprecated in .... wp-settings.php in line 267

Deprecated: Assigning the return value of new by reference is deprecated in .... wp-theme.php..

Deprecated: Assigning the return value of new by reference is deprecated in .... wp-cache.php..

and so on

A lot of people claim that it can be fixed by simply open these php files and removing & in the line noted above.

Then it's done automatically.the & in the line is a useless code for php5 now!

Here is some reseason below,

PHP 4 introduced basic OOP to PHP, however it had a few key issues which were fixed in PHP 5.

Bear in mind that OOP is a concept which has feature which should be consistent between the many different programming languages which implement it.

In most programming languages, an object c......

付费查看剩下内容

网址:https://feilong.org/wordpress-php5-assigning-return-value
初发:20100309 09:58

想学前端?长按二维码加我微信

想学前端?点击飞龙QQ

分类: wordpress

新作:

旧文:

  • 言色和悦对父母
    有无相通待亲友
关闭

长按二维码 -> 识别图中二维码

打开微信,发现,扫一扫

支付完成后,点击下一步

感谢大力支持

然后你手机号:

最后点这,稍等即可