That's a very good point. However it would be discernible by the context. If there's a literal or a variable to the left of the operator, it'd be the shift operator (since any literal or variable the left of the heredoc would result in a syntax error). But it should likely be more concrete. Perhaps b<< or something else.
I'll update the RFC to leave the selection of an operator pair up for discussion. Thanks, Anthony On Sun, Jul 17, 2011 at 8:00 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote: > On 07/17/2011 04:47 PM, Anthony Ferrara wrote: >> Hello all, >> >> I have added an RFC for the addition of logical bitwise shift >> operators. (>>> and <<< proposed). >> >> https://wiki.php.net/rfc/logicalshiftoperator >> >> Feedback welcome, > > Your RFC should probably address the issue that we already have a <<< > operator. See http://php.net/heredoc > > -Rasmus > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php