Function: return multple values

From: Date: Mon, 23 Sep 2002 09:33:01 +0000
Subject: Function: return multple values
Groups: php.general 
Request: Send a blank email to php-general+get-117249@lists.php.net to get a copy of this message
Hi people. Is it possible to return multiple values in a function. For instance, i want to do something like this: function calculate_money($sum) { // some hanky panky calculations return $type; return $amount; } Thanks! Sincerely, Faisal ______________________________________

« previous php.general (#117249) next »