Date: 11/03/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /fr/functions image.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions bc.xml"
- In reply to: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/language functions.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
unsubscribe
----- Original Message -----
From: "Ron Chmara" <ron <email protected>>
To: <phpdoc <email protected>>
Sent: Friday, November 03, 2000 4:49 AM
Subject: [PHP-DOC] cvs: phpdoc /en/language functions.xml
| ronabop Thu Nov 2 19:49:38 2000 EDT
|
| Modified files:
| /phpdoc/en/language functions.xml
| Log:
| Reference returning from a function (fixing example, text)
|
| Index: phpdoc/en/language/functions.xml
| diff -u phpdoc/en/language/functions.xml:1.8
phpdoc/en/language/functions.xml:1.9
| --- phpdoc/en/language/functions.xml:1.8 Fri Sep 15 09:09:44 2000
| +++ phpdoc/en/language/functions.xml Thu Nov 2 19:49:38 2000
| @@ -258,14 +258,14 @@
| <para>
| To return a reference from a function, you have to use
| the reference operator & in both the function declaration and
| - when assigning the return value to a variable:
| + when assigning the returned value to a variable:
| <informalexample>
| <programlisting role="php">
| function &returns_reference() {
| - return &$someref;
| + return $someref;
| }
|
| -$newref = &returns_reference();
| +$newref =&returns_reference();
| </programlisting>
| </informalexample>
| </para>
|
|
|
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /fr/functions image.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions bc.xml"
- In reply to: Ron Chmara: "[PHP-DOC] cvs: phpdoc /en/language functions.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

