Re: Unsigned Problems Revisited
| From: | Jason T. Greene | Date: | Tue, 22 Oct 2002 21:09:54 +0000 |
| Subject: | Re: Unsigned Problems Revisited | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89937@lists.php.net to get a copy of this message | ||
On Tue, 2002-10-22 at 12:23, Jason T. Greene wrote:
> 3. Implement Unsigned Data types
> ---------------------------------
>
snip
Correction
>
> <?php
>
> $b = (uint) 1;
>
> //Set b = 1
> $b = (1 << 31) >> 31;
this won't work, it should be:
$b = ($b << 31) >> 31;
>
> ?>