Re: More than one values returned?

From: Date: Wed, 20 Feb 2008 02:44:01 +0000
Subject: Re: More than one values returned?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-269674@lists.php.net to get a copy of this message
On Feb 19, 2008 5:23 PM, Steve Edberg <sbedberg@ucdavis.edu> wrote: > For completeness sake, this is pretty much the same in PHP: > > function test() { > return array(1,2); > } > > list($a,$b) = test(); Yup, just a few more keystrokes is all. -- Greg Donald http://destiney.com/

« previous php.general (#269674) next »