note 11285 added to Funktionsparameter
| From: | elf at messer dot de | Date: | Wed, 14 Feb 2001 10:12:56 +0000 |
| Subject: | note 11285 added to Funktionsparameter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11040@lists.php.net to get a copy of this message | ||
I contribute the following example with a specific use of "arguments by reference".
function do($Param)
{
DoSomethingMore(&$Param);
}
$Value = 'Test';
do(&$Value);
It seems to me that it is not described here how PHP handles "multiple" references. I try
to use references to avoid unnecessary copying of objects.
http://www.php.net/manual/de/functions.arguments.php