`
aitracy
  • 浏览: 71975 次
  • 性别: Icon_minigender_1
  • 来自: 无锡
社区版块
存档分类
最新评论

Assigning the return value of new by reference is deprecated in xxxx

    博客分类:
  • PHP
阅读更多
自从php5.3,越来越多的人会遇到“Assigning the return value of new by reference is deprecated in xxxx”这样的提示,尤其是在国外产品中(例如wordpress、joolma),很多人的解决办法很简单:把php版本换回就版本就ok了。毫无疑问这是个好办法,对这种遇到问题不求甚解的态度可能会让人看到些什么。我认为要换回php的旧版本,其实是对php技术爱好者的一种羞辱(用词不当,大致是这个意思)。解决办法:php5.3开始后,废除了php中的”=&”符号,所以要想复制,直接用=引用即可。
分享到:
评论
1 楼 aitracy 2010-10-16  

相关推荐

    Ubuntu The Complete Reference

    - **Introduction to the Shell**: Explanation of the role of the shell in Unix-like systems and how it serves as the primary interface for interacting with the system. - **Common Shell Commands**: List...

    ecshop基于php5.0版本以上的配置修改

    Deprecated: Assigning the return value of new by reference is deprecated in F:\wamp\www\ECshop\admin\goods_batch.php on line 921 ``` **解决方法**: ```php $filter = new stdClass(); ``` 以上就是针对...

    计算机网络第六版答案

    An important property of such botnets is that the originator of the botnet can remotely control and issue commands to all the nodes in the botnet. Hence, it becomes possible for the attacker to issue...

    Borland Delphi 2005 Architect Update 3

    DataSet lots of methods missing in code completion0.00 of 5 Closed10450 The Ellipse is drawn over some of the caption text when a form is docked in IDE0.00 of 5 Closed10381 Constant array of ...

    UML and the Unified Process.pdf

    formalize parts of the language and it is difficult to see how to integrate the works in order to define a formal semantics for UML. Although UML does not prescribe any particular development process,...

    php 升级到 5.3+ 后出现的一些错误,如 ereg(); ereg_replace(); 函数报错

    如果遇到`Deprecated: Assigning the return value of new by reference is deprecated`的错误,只需去除`&`符号: ```php $obj =& new MyClass(); // 改为: $obj = new MyClass(); ``` 此外,`set_magic_quotes_...

    CSharp 3.0 With the .NET Framework 3.5 Unleashed(english)

    - **Creating a Visual Studio 2008 Project**: This section guides you through the process of setting up a new project in Visual Studio 2008, which is a powerful integrated development environment (IDE)...

    Cours-VB-NET-2010-Developpez-com

    - Parameter passing: Parameters can be passed by value or by reference. ##### 10. English to French Lexicon A lexicon providing translations of common programming terms from English to French, which ...

    Delphi7.1 Update

    If you encounter an empty Help Index tab after installing this update, open the d7.ohi file in the Delphi7Help folder and comment out one or more of the index entries by changing the colon in column ...

    APICS DICTIONARY

    **Definition**: Activity-Based Cost Accounting (ABC) is a method of assigning costs to products, services, or customers based on the activities they require. It involves identifying and measuring the ...

    C Programming

    In this section, the document begins by explaining the fundamentals of computers, which is essential for understanding programming and the context in which C programming operates. It covers: - **...

    EhLib 9.1.038 for D7-XE-10.2

    The EhLib set contains components and classes for various versions of the Delphi programming language and to increase the capacity of the user’s database database software to interact with users. ...

    Enumerative Combinatorics, Volume 1(2nd)

    The main difference between this edition and the first is the addition of ten new sections (six in Chapter 1 and four in Chapter 3) and more than 350 newexercises. In response to complaints about the ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    基于目标检测的口罩识别系统的设计与实现 计算机科学和技术专业.docx

    YOLO v4 is a state-of-the-art technique that first extracts features from the input image, followed by hierarchical classification, then localization of the objects, ultimately assigning a binary ...

    k-nearest-neighbors-from-global-to-local

    In its basic form, given a new instance, the algorithm finds the \( k \) closest instances (neighbors) in the training set and assigns a label based on the majority vote or a weighted average of the ...

    Essential C

    In conclusion, "Essential C" by Nick Parlante is a valuable resource for anyone interested in learning or revisiting the fundamentals of the C programming language. Its comprehensive coverage of key ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    B218629 - In the Page Number Format dialog, the "Start At" field value is incorrectly validated for character-based number formats B218627 - TBasedxReportLink descendants - Customized values of the ...

Global site tag (gtag.js) - Google Analytics