Re: Returning values from a function
| From: | 惠新宸 | Date: | Mon, 15 Nov 2010 03:13:20 +0000 |
| Subject: | Re: Returning values from a function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309489@lists.php.net to get a copy of this message | ||
Hi:
return array(
'string_to_display' => $string_to_display,
.....
);
Best regards
惠新宸 Xinchen Hui
http://www.laruence.com/
On 2010/11/15 11:10, Ron Piggott wrote:
I am writing a string parsing function. I need to return 3 values from a function: return $string_to_display; return $string_to_parse; return $continue_parsing; I am not sure how to retrieve these variables. The Verse of the Day “Encouragement from God’s Word” http://www.TheVerseOfTheDay.info