Re: <- functions returning multiple values: ->

From: Date: Mon, 22 Jan 2001 17:37:45 +0000
Subject: Re: <- functions returning multiple values: ->
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36038@lists.php.net to get a copy of this message
On Mon, 22 Jan 2001, Abe Asghar wrote: > Hey there, > > is there a way that you can get a function to return multiple values. e.g.: > {and also how to access them} > > function VarTest() { > > return $var = 10; > > return $var2 = 20; > } > > Thanks > function somefunc() { return Array(10, 20); }; -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.general (#36038) next »