Re: More than one values returned?

From: Date: Tue, 19 Feb 2008 01:41:30 +0000
Subject: Re: More than one values returned?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269577@lists.php.net to get a copy of this message
On Feb 18, 2008, at 531PM, Teck wrote:
Is it possible to "return" more than one values in PHP?
Yes, in the form of an array.
return $x; return $y;
Only one return statement can be used. http://us.php.net/manual/en/functions.returning-values.php Brady

« previous php.general (#269577) next »