Re: [PHP-DEV] New destructors implementation

2004-02-05 Thread Zeev Suraski
At 23:16 05/02/2004, Andrei Zmievski wrote: On Thu, 05 Feb 2004, Zeev Suraski wrote: > Internal objects as in the ones in reflection and similar? Yes. But I'd > imagine that for most other objects which completely overload the behavior, > you wouldn't need that. Generally, if your object should

Re: [PHP-DEV] New destructors implementation

2004-02-05 Thread Andrei Zmievski
On Thu, 05 Feb 2004, Zeev Suraski wrote: > Internal objects as in the ones in reflection and similar? Yes. But I'd > imagine that for most other objects which completely overload the behavior, > you wouldn't need that. Generally, if your object should be able to call > __destruct() *AND* it's

[PHP-DEV] Re: tests/lang/bug24773.phpt, segfault with 4.3.5RC2

2004-02-05 Thread Pierre-Alain Joye
About my previous post. This commit has been lost. And the test: (EX(Ts)[EX(opline)->result.u.var].EA.type ==IS_STRING_OFFSET) is a bit cleaner than mine. pierre On Wed, 03 Dec 2003 19:33:17 - [EMAIL PROTECTED] (Moriyoshi Koizumi) wrote: > moriyoshi Wed Dec 3 14:33:17 2003 ED

Re: [PHP-DEV] NetWare diff - 1.

2004-02-05 Thread dv
> > Not to undermine the effort..but does anyone actually > use PHP on Netware? (or actually use netware anymore..? :) > There's at least one fairly major U.S state governmental agency (whom I happen to work for) that uses it. You can view the mailing lists for many others, mostly enterp

[PHP-DEV] tests/lang/bug24773.phpt, segfault with 4.3.5RC2

2004-02-05 Thread Pierre-Alain Joye
Hello, I got segfaults with the test tests/lang/bug24773.phpt. It seems the test added in HEAD has been either lost or never applied. Please find an attempt to fix as attachment, feel free to drop it and apply your own and cleaner one ;-) hth pierre --- /home/paj/cvs/php43/Zend/zend_execute.c

[PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2004-02-05 Thread Doru Petrescu
I resend it. it seems that my mailer corrupted the attachement. -- Best regards, Doru Petrescu Senior Software Engineer Astral Telecom Bucuresti --- Begin Message --- Hi, While playi

Re: [PHP-DEV] apache2 sapi uninitialized content-length value

2004-02-05 Thread Doru Petrescu
On Thu, 2004-02-05 at 14:27, Jani Taskinen wrote: > I don't remember seeing any patch..nor do I see one now.. > And what exactly is the problem you see that the patch fixes? Here it is again ... Is there a problem with the archive from 20 Nov 2003 ?!?!? > On Thu, 5 Feb 2004, Doru Pe

Re: [PHP-DEV] soap in ext/

2004-02-05 Thread Jani Taskinen
Ugh..so we can now mess around with it? :) I noticed it's config.m4 is quite "buggy". 1. never heard of PHP_SETUP_LIBXML macro? 2. see ext/dom/config.m4 how this should be done :) --Jani On Thu, 5 Feb 2004, Andi Gutmans wrote: >Hey, > >Due to the consensus

Re: [PHP-DEV] apache2 sapi uninitialized content-length value

2004-02-05 Thread Jani Taskinen
I don't remember seeing any patch..nor do I see one now.. And what exactly is the problem you see that the patch fixes? --Jani On Thu, 5 Feb 2004, Doru Petrescu wrote: > > >Hi, > >some time ago I sent a patch to fix this uninitialized variable in the >apache2 sapi code. all

Re: [PHP-DEV] NetWare diff - 1.

2004-02-05 Thread Jani Taskinen
Not to undermine the effort..but does anyone actually use PHP on Netware? (or actually use netware anymore..? :) Anyway, I agree with Andi. There has to be better way to do this port.. --Jani On Thu, 5 Feb 2004, Andi Gutmans wrote: >Hi Ananth, > >I'm sorry b

Re: [PHP-DEV] php-cgi command line switch memory check

2004-02-05 Thread Edin Kadribasic
On Thursday 05 February 2004 12:26 am, Rasmus Lerdorf wrote: > #!/usr/local/bin/php-cgi -d include_path=/path > ... > ?> > > and have it work both from the command line and from a web context. Just a side note. This does not work on most systems due to kernel limitation on shebang l

[PHP-DEV] indirect references to static function variables

2004-02-05 Thread Jan Lehnardt
Hi again, the ZEND_CHANGES file states: [...] * Static function variables. Statics are now treated at compile-time which allows developers to assign variables to statics by reference. This change also greatly improves their performance but means that indirect references to statics will not wor

[PHP-DEV] soap in ext/

2004-02-05 Thread Andi Gutmans
Hey, Due to the consensus reached in including the SOAP extension in the main PHP distribution I have moved (symbolically linked like tidy and spl) soap to ext/. Make sure you do a cvs update -d when you update. The extension is marked EXPERIMENTAL for now. Andi -- PHP Internals - PHP Runtime

Re: [PHP-DEV] NetWare diff - 1.

2004-02-05 Thread Andi Gutmans
Hi Ananth, I'm sorry but your patches are kind of messy. There are far too many #ifdef NETWARE's in there. It should be possible to improve on this by creating abstraction for things such as stat. I don't feel very comfortable with commiting them the way they are. Has anyone else here looked at

[PHP-DEV] apache2 sapi uninitialized content-length value

2004-02-05 Thread Doru Petrescu
Hi, some time ago I sent a patch to fix this uninitialized variable in the apache2 sapi code. all other SAPIs DO initialize it, so I figured out it is something that should be corrected. I see neither php-5.0.0B3 nor php-4.3.5RC2 implement this. Can someone comment on this ? Was my 2 line pat

[PHP-DEV] NetWare diff - 1.

2004-02-05 Thread Ananth Kesari
Hi, Please find attached, the NetWare diff (text file) in the unified format taken using the command: cvs diff -uN. When I attached the diff of the whole php5 project, my mails were bouncing. So, I have split it up manually and then sending the diff in two mails. The first part is attached below

[PHP-DEV] NetWare diff - 2.

2004-02-05 Thread Ananth Kesari
Hi, Please find attached, the second part of the NetWare diff. Please let me know of your observations on this and if we can check this into the php5 sources. We can shoot to have these changes into the proposed Beta 4 for PHP5. Thanks, Ananth. Index: netware/ApacheCore.imp

Re: [PHP-DEV] New destructors implementation

2004-02-05 Thread Zeev Suraski
At 02:00 05/02/2004, Marcus Boerger wrote: Hello Zeev, Thursday, February 5, 2004, 12:24:47 AM, you wrote: > At 23:45 04/02/2004, Andrei Zmievski wrote: >>On Wed, 04 Feb 2004, Andi Gutmans wrote: >> > 3. The APIs have changed to allow for this new mechanism. Instead of the >> > previous dtor c

Re: [PHP-DEV] php-cgi command line switch memory check

2004-02-05 Thread Rasmus Lerdorf
On Thu, 5 Feb 2004, Jon Parise wrote: > Some additional archaeology says that this logic goes back to PHP 3 > (main.c revision 1.354, from 5 years, 11 months ago): > > http://cvs.php.net/diff.php/php3/main.c?login=2&r1=1.354&r2=1.355&ty=h > > I was kind of hoping it was something you had commit

Re: [PHP-DEV] php-cgi command line switch memory check

2004-02-05 Thread Jon Parise
On Wed, Feb 04, 2004 at 03:26:41PM -0800, Rasmus Lerdorf wrote: > The point of the question here is if anybody remembers why we decided not > to parse command line args for the cgi version? ... > As far as I can tell this wouldn't conflict with anything, but somebody at > some point must have