'function &' is optional with methods (bug #29877)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183859 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-04-07 14:26:42 +00:00
parent 6ccf606963
commit cf43331a95

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.37 $ -->
<!-- $Revision: 1.38 $ -->
<chapter id="language.references">
<title>References Explained</title>
@ -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 <varname>$foo</varname>.
<literal>&amp;</literal> by function definition is optional in
<link linkend="keyword.class">class</link> methods.
</simpara>
</note>
</sect1>