php3-list | 199807
Date: 07/06/98
- Next message: V.K. Stoessel: "[PHP3] combining array elements"
- Previous message: APIS: "Re: [PHP3] New mailing lists proposition"
- In reply to: Zeev Suraski: "RE: [PHP3] bit shifting"
- Next in thread: Pedro Melo: "Re: [PHP3] bit shifting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
o Excellent good -- as soon as *fire-work's* noise clears,
will update server.
o Every `lil bit' you do is appreciated here. *groan*
Thanks
-nnnn-
On Tue, 7 Jul 1998, Zeev Suraski wrote:
> At 16:20 06/07/98 -0500, APIS wrote:
> > o Will PHP3 also someday support bit shifts and set bit and
> >clear bit and test bit operations?
>
> As mentioned numerous times on the list, PHP now supports bit shifting (as
> of version 3.0.1).
> Clearing bits and testing them can be done just like in C:
>
> $a |= 1<<4; /* enable the 4th bit of $a */
>
> if ($a & 1<<4) { /* test if the 4th bit of $a is on */
> ...
> }
>
> Zeev
>
> --
> Zeev Suraski <zeev <email protected>>
> For a PGP public key, finger bourbon <email protected>
>
>
NNNN
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: V.K. Stoessel: "[PHP3] combining array elements"
- Previous message: APIS: "Re: [PHP3] New mailing lists proposition"
- In reply to: Zeev Suraski: "RE: [PHP3] bit shifting"
- Next in thread: Pedro Melo: "Re: [PHP3] bit shifting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

