note 10404 deleted from language.references.return by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 20:22:31 +0000 |
| Subject: | note 10404 deleted from language.references.return by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25291@lists.php.net to get a copy of this message | ||
Apparently returning lists via reference doesn't work. For example, the following gives a
parse error
function &junk($param) {
...
return array($garbage, $wreck);
}
list($result1, $result2) = &junk($somevar);