cvs: php4 / NEWS
| From: | Andi Gutmans | Date: | Sun, 10 Dec 2000 20:26:56 +0000 |
| Subject: | cvs: php4 / NEWS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3060@lists.php.net to get a copy of this message | ||
andi Sun Dec 10 12:26:56 2000 EDT
Modified files:
/php4 NEWS
Log:
- Add NEWS about being able to assign new's by ref
Index: php4/NEWS
diff -u php4/NEWS:1.540 php4/NEWS:1.541
--- php4/NEWS:1.540 Fri Dec 8 18:09:15 2000
+++ php4/NEWS Sun Dec 10 12:26:56 2000
@@ -9,6 +9,10 @@
- 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):