note 92106 deleted from language.references.pass by danbrown

From: Date: Thu, 09 Jul 2009 14:42:41 +0000
Subject: note 92106 deleted from language.references.pass by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158111@lists.php.net to get a copy of this message
Note Submitter: mike at f2 dot net dot au ---- Mehea, in PHP if you pass a variable by reference that hasn't been created, PHP will create it. See example 1: http://au2.php.net/manual/en/language.references.whatdo.php So $arg as a optional parameter in: my_func(&$arg = 22) {} ...would create a variable that references itself, when every call to my_func() is made.

« previous php.notes (#158111) next »