[PHP-DEV] Re: [PATCH] For Bug #38770

2006-11-17 Thread David Soria Parra
Are there no opinions about that? It's just that if u pack an integer u get an integer and are not influenced by the convert to the long as it is stored in a zval struct. It's just about handling an int as an int (which is also 4byte on x64) and avoid problems if the long is bigger than the int

[PHP-DEV] Re: [PATCH] For Bug #38770

2006-11-17 Thread David Soria Parra
I also attached the patch against PHP_5_2 CVS Index: ext/standard/pack.c === RCS file: /repository/php-src/ext/standard/pack.c,v retrieving revision 1.57.2.5 diff -u -r1.57.2.5 pack.c --- ext/standard/pack.c 26 Feb 2006 10:49:50