From 10b460e7cad86c186b14aec8a53db003fb494e2b Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Mon, 4 Dec 2000 18:28:35 +0000 Subject: [PATCH] - Explanation about Zend change. I'll move it to the branch when I'm happy with the way it's explained. It's rather hard to explain it well. --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NEWS b/NEWS index a8e2e9be40..1b7cb22785 100644 --- 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) -- 2.50.1