Re: [PHP-DEV] [PATCH] - fix for 64 bit issues with OnUpdateInt
[email protected] (Sascha Schumann)
| Newsgroups | php.dev |
|---|---|
| Message-ID | <[email protected]> |
> That's also an option but I think OnUpdateInt() is confusing and how do we
> stop ppl from using it in new extensions which who's commit messages aren't
> followed via php-cvs?
I volunteer to set up a cron job which greps for OnUpdateInt
:-)
The problem with _changing_ the existing semantics is that
programmers will not notice that they need to adapt types
from long to int. That leaves 64 bit platforms with a new
set of problems, because the upper half of the long won't be
initialized.
- Sascha