note 74841 rejected from functions.returning-values by colder
| From: | colder@php.net | Date: | Mon, 30 Apr 2007 18:30:10 +0000 |
| Subject: | note 74841 rejected from functions.returning-values by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125988@lists.php.net to get a copy of this message | ||
Note Submitter: slloyd at timequest dot org
----
How would you do the following in PHP? Perl allows you to do the following:
sub test {
return <<ENDOFTEXT;
This
is
a
test
ENDOFTEXT
}