cvs: phpdoc /en/language functions.xml

From: Date: Mon, 21 Jan 2002 09:25:24 +0000
Subject: cvs: phpdoc /en/language functions.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341502@lists.php.net to get a copy of this message
yohgaki Mon Jan 21 04:25:24 2002 EDT Modified files: /phpdoc/en/language functions.xml Log: Call time reference is depreciated. Deleted description. Index: phpdoc/en/language/functions.xml diff -u phpdoc/en/language/functions.xml:1.23 phpdoc/en/language/functions.xml:1.24 --- phpdoc/en/language/functions.xml:1.23 Sun Jan 13 19:14:43 2002 +++ phpdoc/en/language/functions.xml Mon Jan 21 04:25:23 2002 @@ -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 @@ </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">

« previous php.doc (#969341502) next »