# [Fwd: Re:  Other Integers for php 6]

- Thread: https://externals.io/message/21826
- Original archive: https://news-web.php.net/php.internals/21826
- Started by Ezra Nugroho on 2006-02-09T19:49:09+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #21826 — Ezra Nugroho — 2006-02-09T19:49:09+00:00

URL: https://externals.io/message/21826#21826

Seth Price corrected me (thanks Seth!). I actually only loose one bit
for the sign.

echo (int)pow(2, 31);
> 1073741824


echo (int)pow(2, 32);
> -2147483648


That's certainly a relief. 


I don't know if there are other reasons to have unsigned integers. I
certainly don't mind having it. However it is probably a small issue
since PHP automatically cast large numbers to float anyway.

Thank you all,
Ezra
