note 41781 added to language.references.pass
| From: | somekool at Mytradecenter dot com | Date: | Thu, 22 Apr 2004 01:52:14 +0000 |
| Subject: | note 41781 added to language.references.pass | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68501@lists.php.net to get a copy of this message | ||
question here !!!!
I have a fonction which receive a variable by reference.
function a (&$b)
{}
i want to set a default value to &$b ????
function a (&$b=0)
{}
I've try null, and different other thing, does not seems to have anything about it in the
manual.
is it possible ?
I need that.
----
Manual Page -- http://www.php.net/manual/en/language.references.pass.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41781
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41781&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41781&report=yes
Search -- http://master.php.net/manage/user-notes.php