From cf43331a957b2bd6c7c8ddfc0b54596db1a4c63b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 7 Apr 2005 14:26:42 +0000 Subject: [PATCH] 'function &' is optional with methods (bug #29877) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183859 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/references.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/language/references.xml b/language/references.xml index e613c5a329..bd82761cd9 100644 --- a/language/references.xml +++ b/language/references.xml @@ -1,5 +1,5 @@ - + References Explained @@ -350,6 +350,8 @@ $foo->x = 2; return by-reference, not a copy as usual, and to indicate that reference binding, rather than usual assignment, should be done for $foo. + & by function definition is optional in + class methods.