Re: Returning values from a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux