Date: 09/10/01
- Next message: Rodent of Unusual Size: "Re: Fwd: Re: [PHP-DEV] Woah"
- Previous message: Hartmut Holzgraefe: "Re: [PHP-DEV] mktime() and (dates < 1970 || dates > 2037) (fwd)"
- In reply to: Vlad Krupin: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Next in thread: Alexander Wirtz: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Alexander Wirtz: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> FWIW:
> Signed shift seems to make little sense to me personally, since we are
> just dealing with a row of bits, and if you really want to do a quick
> multiplication/division, you might just as well use a * or / operator -
> it is not going to hurt that much:).
I completely agree
> *However*, it's been possible in
> different languages since before I had my first computer (e.g. SHL/SHR
> and SAL/SAR in asm x86), so we might provide the same functionality and
> create a new operator to discriminate between signed and unsigned
> shifts.Just a thought. Don't kill me if that would be polluting the
> language.
IMHO: If other languages have strange things, I don't see why PHP should
take it over... Don't copy bad operators!
But... currently, how does PHP handle this? I'm afraid the wrong way?
--Jeroen
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rodent of Unusual Size: "Re: Fwd: Re: [PHP-DEV] Woah"
- Previous message: Hartmut Holzgraefe: "Re: [PHP-DEV] mktime() and (dates < 1970 || dates > 2037) (fwd)"
- In reply to: Vlad Krupin: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Next in thread: Alexander Wirtz: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Alexander Wirtz: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

