[PHP-DEV] Re: crc32

2005-09-05 Thread Wojtek Meler
Ron Korving wrote: Wouldn't it be more practical to implement these as stream filters? Sure - I was not aware PHP5 streams - I'm still using PHP4 string.base64 is good choice. But I'm not sure if crc fit to streams. You can always implement fast userland filter with such function ;) . Wojtek

Re: [PHP-DEV] curl error in 5.1.0-dev

2005-09-05 Thread Kevin Waterson
This one time, at band camp, Jani Taskinen <[EMAIL PROTECTED]> wrote: > No. What OS? What compiler and what compiler version? > Are you using a snapshot? What configure line was used? Fedora, gcc, snap php5-200509051030, config line is... ./configure --host=i386-redhat-linux --build=i38

Re: [PHP-DEV] curl error in 5.1.0-dev

2005-09-05 Thread Jani Taskinen
On Tue, 6 Sep 2005, Kevin Waterson wrote: curl-devel-7.10.6 and curl-7.10.6 In function `zif_curl_multi_init': /php/php5-200509051030/ext/curl/multi.c:65: undefined reference to `_zval_ptr_dtor_wrapper' ext/sockets/.libs/sockets.o(.text+0x1741): Is this a good error? No. What OS? What c

Re: [PHP-DEV] version_compare() logic issue - can we work around this?

2005-09-05 Thread Jani Taskinen
On Mon, 5 Sep 2005, Derick Rethans wrote: It was always custom to do this: 5.1.0-dev 5.1.0b1 5.1.0b2-dev 5.1.0b2 5.1.0RC1-dev 5.1.0RC1 5.1.0RC2-dev ... 5.1.0 But for some reason the current RMs don't do that anymore. They (Zeev and Andi) propably didn't know they should be doing that

[PHP-DEV] curl error in 5.1.0-dev

2005-09-05 Thread Kevin Waterson
curl-devel-7.10.6 and curl-7.10.6 In function `zif_curl_multi_init': /php/php5-200509051030/ext/curl/multi.c:65: undefined reference to `_zval_ptr_dtor_wrapper' ext/sockets/.libs/sockets.o(.text+0x1741): Is this a good error? Kevin -- "Democracy is two wolves and a lamb voting on what to have f

[PHP-DEV] call for testing - install-pear.phar

2005-09-05 Thread Greg Beaver
Hi all, I've got a working single-file copy of PEAR 1.4.0b1 which is ready to be tested. I have tested it extensively, and we've gotten a successful install on SuSE using it directly from the make install of PHP, so now I need others to test it and make sure it installs PEAR properly on their sys

Re: [PHP-DEV] version_compare() logic issue - can we work around this?

2005-09-05 Thread Derick Rethans
On Mon, 5 Sep 2005, Greg Beaver wrote: > Hi, > > version_compare('5.1.0-dev', '5.1.0b3') > > always claims 5.1.0-dev is older. This has been causing intermittent > problems with testing PEAR and other packages with the latest CVS of > PHP. Could we change the version of PHP in development to s

[PHP-DEV] version_compare() logic issue - can we work around this?

2005-09-05 Thread Greg Beaver
Hi, version_compare('5.1.0-dev', '5.1.0b3') always claims 5.1.0-dev is older. This has been causing intermittent problems with testing PEAR and other packages with the latest CVS of PHP. Could we change the version of PHP in development to something version_compare can work with like 5.1.0RC2-d

Re: [PHP-DEV] PHP 5.1

2005-09-05 Thread Rob Richards
Zeev Suraski wrote: For those of you who submitted patches to 5.1 since RC1 - do you believe that we need another RC or can we go ahead and roll 5.1 final and run a sanity test for 24 hours? I went over the patches, none of them appears to be too dangerous, but if any of you thinks different

[PHP-DEV] Re: crc32

2005-09-05 Thread Ron Korving
Wouldn't it be more practical to implement these as stream filters? Ron "Wojtek Meler" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > I've patched original crc32 PHP function to allow incremental crc32 > counting. > It touches only a few lines of original code. > New crc32 funct

[PHP-DEV] building HEAD on windows

2005-09-05 Thread Rob Richards
Attached is a patch to allow PHP 6 to build on windows (ext/string/string.c). MS compiler doesnt allow arithmetic operations on void *. This hopefully will work everywhere as I noticed some of these were changed before to support GCC 4. Rob Index: string.c =

[PHP-DEV] Re: crc32

2005-09-05 Thread Wojtek Meler
Oops !!! I've left old license header. Here is smaller clean version that apply to CVS HEAD. Index: crc32.c === RCS file: /repository/php-src/ext/standard/crc32.c,v retrieving revision 1.16 diff -u -r1.16 crc32.c --- crc32.c 3 Aug 20

[PHP-DEV] crc32

2005-09-05 Thread Wojtek Meler
I've patched original crc32 PHP function to allow incremental crc32 counting. It touches only a few lines of original code. New crc32 function signature is int crc32(string str [,int prev_sum]) With this patch you can generate crc32 checksum for even large files without reading it contents

[PHP-DEV] PHP 4 Bug Summary Report

2005-09-05 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (647 total including feature requests) ===[Arrays related]=== 31114 Assigned foreach modify array 31942 Feedback foreach and object members mixing badly ===