Re: [RFC] Flexible Heredoc and Nowdoc Syntaxes
| From: | Christopher Jones | Date: | Tue, 24 Oct 2017 00:45:06 +0000 |
| Subject: | Re: [RFC] Flexible Heredoc and Nowdoc Syntaxes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100921@lists.php.net to get a copy of this message | ||
On 13/10/17 8:40 pm, Thomas Punt wrote:
Morning internals, I'd like to propose an RFC to make the heredoc and nowdoc syntaxes more flexible[1]. Any thoughts? Thanks, Tom [1]: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxesI like the added flexibility in placement of the end token, but I think requiring only tabs or spaces, and stripping whitespace from all {here|now}doc lines is error prone and adds unnecessary complexity. Chris -- http://twitter.com/ghrd