Re: RFC: Add Logical Shifts for bitwise string operations

From: Date: Mon, 18 Jul 2011 00:22:24 +0000
Subject: Re: RFC: Add Logical Shifts for bitwise string operations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-54008@lists.php.net to get a copy of this message
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 <rasmus@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 >

« previous php.internals (#54008) next »