]> granicus.if.org Git - php/commitdiff
- Add NEWS about being able to assign new's by ref
authorAndi Gutmans <andi@php.net>
Sun, 10 Dec 2000 20:26:56 +0000 (20:26 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 10 Dec 2000 20:26:56 +0000 (20:26 +0000)
NEWS

diff --git a/NEWS b/NEWS
index 378f8b07f42de694852b299feec1b2e2ff876595..bc3004dd268372214785bc77346b02e63aa6178a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,10 @@ PHP 4.0                                                                    NEWS
 - Empty entry. Enjoy
 
 ?? ??? 2000, Version 4.0.4
+- Allow assigning a newly created object by reference. This is needed only if
+  your constructor makes other data structures reference the $this object (for
+  example, $GLOBALS["foobar"] =& $this;)
+  The new syntax is $obj =& new MyClass(); (Andi, Zend Engine)
 - Allow for three expression types to be sent to functions which are requesting
   the function argument to be passed by reference (only c. was previously
   supported):