]> granicus.if.org Git - php/commitdiff
- Explanation about Zend change. I'll move it to the branch when I'm happy
authorAndi Gutmans <andi@php.net>
Mon, 4 Dec 2000 18:28:35 +0000 (18:28 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 4 Dec 2000 18:28:35 +0000 (18:28 +0000)
  with the way it's explained. It's rather hard to explain it well.

NEWS

diff --git a/NEWS b/NEWS
index a8e2e9be40af421386d6663bd3a5606025eee9ea..1b7cb2278552a80fce06fac315667e54501e6cbb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,15 @@ PHP 4.0                                                                    NEWS
 - Empty entry. Enjoy
 
 ?? ??? 2000, Version 4.0.4
+- Allow passing certain non-variables references by reference. You can do:
+  a) func(new myclass());
+  b) func(func2()); where func2() returns a reference, i.e. is defined as
+     function &func2(...)
+     {
+      ...
+     }
+  c) func($var); where func() is defined as function func(&$var) {...}
+  You CAN'T count on any other expressions to be passable by reference.
 - Fixed bad mod_perl interaction which caused segfaults when using LFS (Sascha)
 - const CONSTNAME now gets recognized. Before the patch only @const CONSTNAME description was recognized.
 - Added extension for the cracklib library. (Alexander Feldman)