[PHP-DEV] PHP5 rocks!

2004-06-07 Thread Hans Lellelid
Hi guys, I just had to take a moment to let you all know just how cool this PHP5 thing is. I know that I've been kinda vocal (and perhaps out of place) in the past about some of the behavior of OO stuff like interfaces, and sure disappointed when __toString() became less magical, etc. Those ar

RE: [PHP-DEV] Re: old build system

2004-06-07 Thread Steph
> > And anybody who suggests removing Interbase will have a large section of > active Firebird users on their heads. > If you want to get rid of anything make it MySQL :) > We WILL produce a clean Firebird module to replace the current Interbase > one, but are waiting for PHP5 to be released before

[PHP-DEV] Re: old build system

2004-06-07 Thread Lester Caine
Andi Gutmans wrote: You mean .dsw and .dsp? I use those all the time for Visual C++ development. Andi At 06:42 PM 6/7/2004 +0200, Ard Biesheuvel wrote: Hi, Are we going to keep supporting the old build system now we don't need it anymore to generate the Windows binaries. As far as Interbase is

[PHP-DEV] Re: old build system

2004-06-07 Thread Andi Gutmans
You mean .dsw and .dsp? I use those all the time for Visual C++ development. Andi At 06:42 PM 6/7/2004 +0200, Ard Biesheuvel wrote: Hi, Are we going to keep supporting the old build system now we don't need it anymore to generate the Windows binaries. As far as Interbase is concerned, it needs to

RE: [PHP-DEV] old build system

2004-06-07 Thread Steph
'The old build system' happens to be standard.. php-gtk for one relies at present on a standard PHP build rather than the new one. I doubt it's alone. > -Original Message- > From: Ard Biesheuvel [mailto:[EMAIL PROTECTED] > Sent: 07 June 2004 17:42 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROT

[PHP-DEV] old build system

2004-06-07 Thread Ard Biesheuvel
Hi, Are we going to keep supporting the old build system now we don't need it anymore to generate the Windows binaries. As far as Interbase is concerned, it needs to be either updated or removed, and personally I prefer the latter. -- Ard -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Antony Dovgal
On Mon, 07 Jun 2004 18:55:52 +0300 "Alexander Valyalkin" <[EMAIL PROTECTED]> wrote: > On Mon, 07 Jun 2004 17:07:06 +0300, Andi Gutmans <[EMAIL PROTECTED]> > wrote: > > > Can you send a unified diff? > > `cvs diff -u`, plz or `diff -u` --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EM

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Alexander Valyalkin
On Mon, 07 Jun 2004 17:07:06 +0300, Andi Gutmans <[EMAIL PROTECTED]> wrote: Can you send a unified diff? ==cut= 1065,1066c1065,1066 < size_t bcount = 0; < int ready = 0; --- size_t bcount = 0; /* counter of printed out bytes */ int is_mapped = 0; 1067a106

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Alexander Valyalkin
On Mon, 7 Jun 2004 10:19:09 -0400, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: IMO Adding additional error reporting is a good idea, but we should keep MAP_SHARED as the mmap mode. In Apache environment if the file is mapped by more then one process the memory needed to map the file is shared,

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Alexander Valyalkin
On Mon, 07 Jun 2004 17:07:06 +0300, Andi Gutmans <[EMAIL PROTECTED]> wrote: Can you send a unified diff? At 02:08 PM 6/7/2004 +0300, Alexander Valyalkin wrote: No, because I dont know how create it :) Please, explain how can I create unified diff under windows. I'm newbie in PHP source development,

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Ilia Alshanetsky
IMO Adding additional error reporting is a good idea, but we should keep MAP_SHARED as the mmap mode. In Apache environment if the file is mapped by more then one process the memory needed to map the file is shared, rather then each fork allocating it's own copy. Unless we decide to make this a

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
We won't release PHP 5 final without upgrading it. But as I think PHP 5 final is about a month away (I don't think we'll need another RC), I suggest to upgrade SQLite right after RC3 so that it's tested. Andi At 10:11 AM 6/7/2004 -0400, [EMAIL PROTECTED] wrote: Andi Gutmans <[EMAIL PROTECTED]> w

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Derrell . Lipman
Andi Gutmans <[EMAIL PROTECTED]> writes: > Hi Derrell, > > I don't think it's wise to upgrade the sqlite version so close to the RC3. If > we do so, we'll need to wait another few days to make sure it works. As there > are so many fixes in RC3 and sqlite support hasn't deteriorated, I suggest to >

Re: [PHP-DEV] readfile() improvements

2004-06-07 Thread Andi Gutmans
Can you send a unified diff? At 02:08 PM 6/7/2004 +0300, Alexander Valyalkin wrote: When I try to print huge files (greate than 500Mb) using readfile() function, my computer crashes. Why? I found in the PHP 4.3.7 sources the file /main/strems.c and function _php_stream_passthru() in it. The readfil

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
Hi Derrell, I don't think it's wise to upgrade the sqlite version so close to the RC3. If we do so, we'll need to wait another few days to make sure it works. As there are so many fixes in RC3 and sqlite support hasn't deteriorated, I suggest to do it right after RC3. Andi At 09:59 AM 6/7/2004

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Derrell . Lipman
Andi Gutmans <[EMAIL PROTECTED]> writes: > Great to hear. I'll start rolling RC3 soon. Before you roll it... I had posted a bug (#28246) regarding sqlite, that one of the important features (ATTACH) didn't work properly with the old version of sqlite that was included with RC2. The bug is still

[PHP-DEV] readfile() improvements

2004-06-07 Thread Alexander Valyalkin
When I try to print huge files (greate than 500Mb) using readfile() function, my computer crashes. Why? I found in the PHP 4.3.7 sources the file /main/strems.c and function _php_stream_passthru() in it. The readfile() uses this function to print content of the file. Below you can see source

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
Great to hear. I'll start rolling RC3 soon. At 03:31 PM 6/7/2004 +0200, Sebastian Bergmann wrote: Andi Gutmans wrote: > It's your fault! :) Looks that way. Anyways, it works now for me. I deleted my php_build directory, fetched it anew from Edin's server and rebuilt. php.exe then complained a

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Sebastian Bergmann
Andi Gutmans wrote: > It's your fault! :) Looks that way. Anyways, it works now for me. I deleted my php_build directory, fetched it anew from Edin's server and rebuilt. php.exe then complained about a missing function entry in libmysql.dll. After deleting the one in c:\windows\system32

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
It's your fault! :) No one can reproduce it! Did you try reinstalling Windows? :) At 01:38 PM 6/7/2004 +0200, Sebastian Bergmann wrote: Wez Furlong wrote: > Sounds lile yet another weird > crash-or-failure-that-only-happens-in-debug-when-using-msvcrt. FYI: The segfault also happens here when the

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Sebastian Bergmann
Wez Furlong wrote: > Sounds lile yet another weird > crash-or-failure-that-only-happens-in-debug-when-using-msvcrt. FYI: The segfault also happens here when the connection parameters are correct. > Sebastian: can you try a release build? Segfaults for me as well. -- Sebastian Bergmann ht

RE: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
I tried Debug_TS too on Windows XP. At 11:32 AM 6/7/2004 +0100, Wez Furlong wrote: Sounds lile yet another weird crash-or-failure-that-only-happens-in-debug-when-using-msvcrt. Sebastian: can you try a release build? --Wez. > -Original Message- > From: Andi Gutmans [mailto:[EMAIL PROTECTED]

RE: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Wez Furlong
Sounds lile yet another weird crash-or-failure-that-only-happens-in-debug-when-using-msvcrt. Sebastian: can you try a release build? --Wez. > -Original Message- > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > Sent: 07 June 2004 10:39 > To: Sebastian Bergmann; [EMAIL PROTECTED] > Subje

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Nuno Lopes
> WinXP, Apache 1.3.29, PHP 5 CVS Snap (PHP Version 5.0.0RC3RC2, Built On: > Jun 07, 2004 06:30 GMT): > > Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server > Host 'a' (11001) in d:\htdocs_php5\z.php on line 3 The same error here. and no crash! > No further problems. > > Ber

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Bert Slagter
WinXP, Apache 1.3.29, PHP 5 CVS Snap (PHP Version 5.0.0RC3RC2, Built On: Jun 07, 2004 06:30 GMT): Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'a' (11001) in d:\htdocs_php5\z.php on line 3 No further problems. Bert Andi Gutmans wrote: I can't reproduce and I want

Re: [PHP-DEV] PHP5 RC3

2004-06-07 Thread Andi Gutmans
I can't reproduce and I want to roll RC3. Is there anyone else who can test this? Andi At 06:23 PM 6/6/2004 +0200, Sebastian Bergmann wrote: Andi Gutmans wrote: > I am just waiting for a final OK from Sebastian on a crash bug he has > been having. This code still segfaults (current HEAD,

[PHP-DEV] PHP 4 Bug Summary Report

2004-06-07 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (828 total including feature requests) ===[*Compile Issues]== 28385 Open $(prefix)/lib/php/build/* was wrong attr. 28590 Feedback configure --with-mysql-sock is