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,
Thanks
Anthony
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
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
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