Re: [RFC][VOTE] Flexible Heredoc and Nowdoc Syntaxes
| From: | Stanislav Malyshev | Date: | Thu, 02 Nov 2017 04:24:17 +0000 |
| Subject: | Re: [RFC][VOTE] Flexible Heredoc and Nowdoc Syntaxes | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101025@lists.php.net to get a copy of this message | ||
Hi!
> From the body of the RFC:
>
> "To enable for the closing marker to be indented, ... The indentation
> of the closing marker dictates the amount of whitespace to strip from
> each line within the heredoc/nowdoc"
Yes, that's what the RFC says. But the voting question only mentions
indenting the marker. I'd prefer voting options were clear and I didn't
have to second-guess the intent. It could be "Allow indenting the marker
and stripping the whitespace?" and all would be clear.
> "RFC voters - please read the RFC during the RFC period and ask
> questions then. ;-)" is an irritating way of writing this.
I've read the RFC, that is exactly why I was asking - because the voting
question did not match the text of the RFC, omitting rather serious side
effect.
--
Stas Malyshev
smalyshev@gmail.com