[PHP-DEV] PHP 5.3 build on Windows broken

2008-02-24 Thread Edward Z. Yang
Hello folks, it looks like the PHP 5.3 build on Windows is broken and ext/mysqlnd is to blame. Will investigate later. -- Edward Z. YangGnuPG: 0x869C48DA HTML Purifier Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]] --

Re: [PHP-DEV] magic_quotes and the question of BC

2008-02-24 Thread Philip Olson
On Feb 8, 2008, at 8:46 AM, Pierre Joye wrote: On Feb 8, 2008 5:38 PM, Gregory Beaver <[EMAIL PROTECTED]> wrote: Frankly, I don't see why there is any vote whatsoever. It's plain stupid to consider removing them when a fully backwards-compatible solution exists that has no performance penalt

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-24 Thread Stanislav Malyshev
Hi! To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this matter. I'm curious - for which PHP version all these things are targeted? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] register globals -> PHP6 still replaces . in variables from outside

2008-02-24 Thread Scott MacVicar
The old behaviour would have to remain as well as anything new as it isn't easy to simply change your script. You'd need to track down all your input and change any references of x.y to x_y to ensure you don't break anything. Scott Sebastian wrote: hi, PHP6 still replaces "." with an unders

[PHP-DEV] register globals -> PHP6 still replaces . in variables from outside

2008-02-24 Thread Sebastian
hi, PHP6 still replaces "." with an underscore in variables from outside. this is an old behavior forced by register globals so i would say its a bug since "." is valid in array keys. for sample: call a script like http://www.example.com/?my.var=1 now $_GET will look like this: Array ( [my_v

Re: [PHP-DEV] [PATCH] Fix segfault in filter extension when using callbacks

2008-02-24 Thread Felipe Pena
Em Dom, 2008-02-24 às 19:45 +0100, Pierre Joye escreveu: > Hi Arnar, Felipe! > > On Sun, Feb 24, 2008 at 7:36 PM, Felipe Pena <[EMAIL PROTECTED]> wrote: > > Em Dom, 2008-02-24 às 15:48 +, Arnar Mar Sig escreveu: > > Fixed in CVS. > > > > Thanks for your patches and quick reaction :) > > Can

Re: [PHP-DEV] [PATCH] Fix segfault in filter extension when using callbacks

2008-02-24 Thread Pierre Joye
Hi Arnar, Felipe! On Sun, Feb 24, 2008 at 7:36 PM, Felipe Pena <[EMAIL PROTECTED]> wrote: > Em Dom, 2008-02-24 às 15:48 +, Arnar Mar Sig escreveu: > Fixed in CVS. > Thanks for your patches and quick reaction :) Can you add a test while being at it please? Cheers, -- Pierre http://blog.the

Re: [PHP-DEV] [PATCH] Fix segfault in filter extension when using callbacks

2008-02-24 Thread Felipe Pena
Em Dom, 2008-02-24 às 15:48 +, Arnar Mar Sig escreveu: > Erm, the attachement got stripped away, heres the patch.. > > --- php-5.2.5/ext/filter/filter.c 2007-04-04 20:50:26.0 + > +++ php-5.2.5-fixed/ext/filter/filter.c 2008-02-24 15:14:19.0 > + > @@ -322,7 +322,7 @@

[PHP-DEV] CVS Account Request: jacoz

2008-02-24 Thread Jacopo Andrea Nuzzi
Build PEAR packages -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Fix segfault in filter extension when using callbacks

2008-02-24 Thread Arnar Mar Sig
Erm, the attachement got stripped away, heres the patch.. --- php-5.2.5/ext/filter/filter.c 2007-04-04 20:50:26.0 + +++ php-5.2.5-fixed/ext/filter/filter.c 2008-02-24 15:14:19.0 + @@ -322,7 +322,7 @@ filter_func.function(*value, flags, options, charset TSRMLS_CC);

[PHP-DEV] [PATCH] Fix segfault in filter extension when using callbacks

2008-02-24 Thread Arnar Mar Sig
The filter extensinon will segfault if a callback filter returns FALSE, this little patch fixes that. There is also no way to set default value if the callback fails because of a design flow. When dealing with callbacks the 'options' key in the options parameters just be a valid callback, b

[PHP-DEV] CVS Account Request: lstrojny

2008-02-24 Thread Lars Strojny
Continue my work on PHP and the Zend Engine, especially focusing on tests, coding style etc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-DOC] cvs: php-src(PHP_5_3) /ext/standard basic_functions.c basic_functions.h

2008-02-24 Thread Hannes Magnusson
On Sun, Feb 3, 2008 at 3:45 PM, Marcus Boerger <[EMAIL PROTECTED]> wrote: > helly Sun Feb 3 14:45:00 2008 UTC > > Modified files: (Branch: PHP_5_3) > /php-src/ext/standard basic_functions.c basic_functions.h > Log: > - MFH Rename it again > [DOC] > - MFH

Re: [PHP-DEV] [RFC] Anonymous functions

2008-02-24 Thread Andrei Zmievski
To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this matter. -Andrei On Feb 23, 2008, at 8:36 PM, Andi Gutmans wrote: I think we have to be very clear whether we are going to provide just a sexier notation for anonym