Re: Argument passed by reference?

From: Date: Thu, 06 Apr 2006 18:45:21 +0000
Subject: Re: Argument passed by reference?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233397@lists.php.net to get a copy of this message
On Thursday 06 April 2006 12:24 pm, Chris Boget wrote: > Is there a way to test to see if a function argument was passed by > reference instead of by value? > > thnx, > Chris The way I understand it, pass by reference in php is determined in the function definition and not the function call. Something like: function foo (&$bar) { ... } Here's a link to that section of the php manual: http://us3.php.net/manual/en/language.references.pass.php Hope that helps. -- Joe Henry www.celebrityaccess.com jhenry@celebrityaccess.com

« previous php.general (#233397) next »