Call time reference is depreciated. Deleted description.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68296 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yasuo Ohgaki 2002-01-21 09:25:23 +00:00
parent 3117543cee
commit 823b4cc86c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<chapter id="functions">
<title>Functions</title>
@ -121,28 +121,6 @@ echo $str; // outputs 'This is a string, and something extra.'
</informalexample>
</para>
<para>
If you wish to pass a variable by reference to a function which
does not do this by default, you may prepend an ampersand to the
argument name in the function call:
<informalexample>
<programlisting role="php">
<![CDATA[
function foo ($bar)
{
$bar .= ' and something extra.';
}
$str = 'This is a string, ';
foo ($str);
echo $str; // outputs 'This is a string, '
foo (&$str);
echo $str; // outputs 'This is a string, and something extra.'
]]>
</programlisting>
</informalexample>
</para>
</sect2>
<sect2 id="functions.arguments.default">