note 40148 deleted from language.references.return by curt
| From: | curt@php.net | Date: | Mon, 05 Jul 2004 17:35:46 +0000 |
| Subject: | note 40148 deleted from language.references.return by curt | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72620@lists.php.net to get a copy of this message | ||
Note Submitter: contact@infopol.fr
----
I've noticed that if you systematically use
function & functionName () {};
The calls with or without & will work as intended (that is the caller can decide if he/she wants
a reference or a copy).
Kind of strange programming, I think (setting the reference or value return from the calling script)
but I think if PHPeople really wanted to endorse it, they'd put & automatically before each
function call.