Re: Class returning more than one value

From: Date: Sun, 15 Oct 2006 06:41:32 +0000
Subject: Re: Class returning more than one value
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-243156@lists.php.net to get a copy of this message
Paul Scott wrote:
On Sat, 2006-10-14 at 11:06 +0100, Deckard wrote:
How can i code a class with a function that returns more than one value ?
1. return array(); 2. return stdClass; --Paul
another option.. can be avoid, is to use global variables or references...and modify them in the function -- Thanking You Sumeet Shroff http://www.prateeksha.com Web Designers and PHP / Mysql Ecommerce Development, Mumbai India

« previous php.general (#243156) next »