One of the features that I have been working on for PHP5/Zend Engine 2
is better unsigned value support for the language. This involves the
addition of a new operator, '>>>' (Unsigned Right Shift). It works the
same as a normal right shift operator, except that it does not hold the
sign during the shift.
1<<31>>31 == -1
1<<31>>>31 == 1
Everyone is in agreement on the new operator, however, a few of us have
had a discussion over whether we should add an equivalent '<<<'
operator. The main reason for this would be that it would make the
language more consistent. However, the argument against adding it is
that it is not necessary because there is no technical difference
between << and <<<
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php