[PHP-DEV] CVS Account Request: thu

2003-10-02 Thread Nguyen Thac Thu
programming -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] array_merge_clobber

2003-10-02 Thread Lukas Smith
Hi, Ok here is another patch written by my new intern (Ralf Willenbacher) which adds array_merge_clobber to the set of array functions. After a bit of pondering we think that array_merge_replace might be a better name for it. But that is just sugar on top once we agree on the principal. Note: arr

[PHP-DEV] array_merge_recursive

2003-10-02 Thread Lukas Smith
Hi, it seems this bug is now back in action: http://bugs.php.net/bug.php?id=14990 Here is a patch my intern wrote: http://www.backendmedia.com/php_patches/array_merge_rec.patch However maybe the original patch that andrei commited was just lost somehow? regards, Lukas Smith [EMAIL PROTECTED] _

[PHP-DEV] argv and argc on cliphp

2003-10-02 Thread Stanislav Malyshev
Is there any reason that PHP5 CLI does not register argc and argv in _SERVER like PHP4 does? There are a number of scripts that depend on it and just adding one more unnecessary incompatibility between PHP4 and PHP5. What is the problem with argv/argc being in _SERVER? -- Stanislav Malyshev, Z

Re: [PHP-DEV] array_merge_recursive

2003-10-02 Thread Jani Taskinen
AFAIK, this is already fixed in CVS. (at least the test script in bug 14990 works fine for me) --Jani On Thu, 2 Oct 2003, Lukas Smith wrote: >Hi, > >it seems this bug is now back in action: >http://bugs.php.net/bug.php?id=14990 > >Here is a patch my intern wrote: >http://ww

RE: [PHP-DEV] array_merge_recursive

2003-10-02 Thread Lukas Smith
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jani > Taskinen > Sent: Thursday, October 02, 2003 4:12 PM > To: Lukas Smith > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] array_merge_recursive > > > AFAIK, this is already fixed in CVS. > (at least the test script in bu

[PHP-DEV] Problems with first_module example

2003-10-02 Thread Mike
I am trying to compile the test first_module into php I downloaded the examples.tar.gz file and then copied the directory first_module/ into the php/ext directory I then ran ./buildconf --force (dist source), ./configure --help showed the extra module available, so I ran ./configure --enable-firs

[PHP-DEV] CVS Account Request: mobarmeg

2003-10-02 Thread Hassan A. Sunbul
Translating the documentation ,Maintaining www.php.net ,Developing the PHP runtime -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] argv and argc on cliphp

2003-10-02 Thread Alan Knowles
Stanislav - looks like andrei changed it - you better cc his private mail as I dont think he reads internals often. Regards Alan Stanislav Malyshev wrote: Is there any reason that PHP5 CLI does not register argc and argv in _SERVER like PHP4 does? There are a number of scripts that depend on it

Re: [PHP-DEV] argv and argc on cliphp

2003-10-02 Thread Rasmus Lerdorf
Andrei and I discussed this change and at the conceptual level at least $_SERVER should be populated with argc and argv if variables_order includes "S". If you have specifically configured your system to not create $_SERVER, then of course it shouldn't be there. The change was to always make

[PHP-DEV] Fix for bug #25543

2003-10-02 Thread Moriyoshi Koizumi
Hi, Attached is a fix for bug #25543 (Error in set_error_handler() definition), which is caused by disordered scheduling of the garbage collection (zend_clean_garbage()). With this patch I'm adding the following two inline functions, zend_begin_atomic() and zend_end_atomic(), to prevent GC fro

Re: [PHP-DEV] Fix for bug #25543

2003-10-02 Thread Jani Taskinen
#25543 is documentation 'bug', what exactly does your patch fix? I don't see anything wrong with set_error_handler().. --Jani On Fri, 3 Oct 2003, Moriyoshi Koizumi wrote: >Hi, > >Attached is a fix for bug #25543 (Error in set_error_handler() definition), >which is caused b