PHP 4.0 Bug #5007 Updated: enable no-resolve mode for here docs
| From: | Bug Database | Date: | Mon, 28 Aug 2000 05:49:53 +0000 |
| Subject: | PHP 4.0 Bug #5007 Updated: enable no-resolve mode for here docs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30913@lists.php.net to get a copy of this message | ||
ID: 5007
Updated by: waldschrott
Reported By: waldschrott@kiffen.de
Status: Analyzed
Bug Type: Feature/Change Request
Assigned To:
Comments:
in addition we could make here-docs structured code friendly by adding sth. like a parameter (don´t
know where,maybe <<<3"MARK")
indicationg how many tabs are prepended, thus the above would render
echo <<<3"MARK"
\t\t\tHello
\t\t\tMr. Foobar
\t\t\t\tTest
MARK;
as
Hello
Mr. Foobar
\tTest
and not with these redundant 3*\t´s in front of every line
then users can user here-docs in classes and functions *without* crippling their code to ugliness
Full Bug description available at: http://bugs.php.net/?id=5007