note 28923 added to language.references.unset
| From: | alex at rack1 dot php dot net | Date: | Tue, 28 Jan 2003 10:02:28 +0000 |
| Subject: | note 28923 added to language.references.unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42913@lists.php.net to get a copy of this message | ||
At the moment it does not apear possible to set the default value for a reference when declaring a
function's parameters:
function foo (&$bar = 0) {
...
}
This will generate a fatal parse error.
- Alex
--
http://www.php.net/manual/en/language.references.unset.php
http://master.php.net/manage/user-notes.php?action=edit+28923
http://master.php.net/manage/user-notes.php?action=delete+28923
http://master.php.net/manage/user-notes.php?action=reject+28923