logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: OnUpdateLong / OnUpdateInt: msg#00047

Subject: Re: OnUpdateLong / OnUpdateInt
Yes exactly. Before that we had people send in ints and cause memory overruns.

Andi

At 07:19 PM 1/17/2005 -0500, Wez Furlong wrote:
IIRC, the name was changed to encourage/remind extension authors that
they should be using long instead of int, which has particular
importance on 64-bit platforms.

Consult the internals/php-dev archives for more info.

--Wez.


On Mon, 17 Jan 2005 15:55:50 +0000, Gareth Ardron <gareth@xxxxxxxxxxxxxx> wrote:
> Whats the functional difference, if any between these two ?
>
> As far as I can tell, it's only API's above version version 20020429
> which has OnUpdateLong, and the zend changelog says it's just a name
> change...
>
> Can anybody confirm/deny this ?
>
> If it's just a rename, then I'll do a an if statement to make things
> compile with php4 and 5 - but I'm open to better suggestions.
>
> cheers guys.
>
> --
> Gareth Ardron
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



<Prev in Thread] Current Thread [Next in Thread>