Re: OnUpdateLong / OnUpdateInt
| From: | Andi Gutmans | Date: | Tue, 18 Jan 2005 00:31:14 +0000 |
| Subject: | Re: OnUpdateLong / OnUpdateInt | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1815@lists.php.net to get a copy of this message | ||
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@fission.org.uk> 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