Re: [PHP-DEV] Patch for Bug #51344: FILTER_NULL_ON_FAILURE flag automatically set in filter_input() functions.

2010-04-19 Thread Adam Harvey
Hi Mats, On 20 April 2010 00:18, Mats Lindh wrote: > The filter_input function has an errornous check for the > FILTER_NULL_ON_FAILURE flag, where it returns NULL if it is NOT set, > and not if it is set. > > I added the patch to the bug tracker over a week ago, but it seems > like it has gone un

Re: [PHP-DEV] [RFC] Performance improvements

2010-04-19 Thread Christopher Jones
Dmitry Stogov wrote: > Hi, > > I've added the corresponding patch for APC, so anyone is able to verify > the performance difference. > > http://wiki.php.net/rfc/performanceimprovements Dmitry, What do you think caused the "fw" difference in absolute figures between the APC and Zend Optimizer+

Re: [PHP-DEV] Re: Named Parameters

2010-04-19 Thread Lukas Kahwe Smith
On 13.04.2010, at 23:39, GM wrote: > Personally, I would strongly prefer the caller syntax my_func('a', 'b', 'c' > => 'd', $e => $f) just to because > > 1) it's consistent with array declaration syntax > 2) it allows arbitrary names for parameters, which will become the > array key

[PHP-DEV] Patch for Bug #51344: FILTER_NULL_ON_FAILURE flag automatically set in filter_input() functions.

2010-04-19 Thread Mats Lindh
Hi, The filter_input function has an errornous check for the FILTER_NULL_ON_FAILURE flag, where it returns NULL if it is NOT set, and not if it is set. I added the patch to the bug tracker over a week ago, but it seems like it has gone unnoticed: http://bugs.php.net/bug.php?id=51344 Would be gr

Re: [PHP-DEV] [RFC] Removal of deprecated features

2010-04-19 Thread Daniel Convissor
On Fri, Apr 16, 2010 at 12:51:23AM +0200, Johannes Schlter wrote: > > Removing magic_quotes would be s great. BUT the issue is > that most users don't know about it. Many applications are more or less > secure due to its existence. The apps aren't fully secure but a few less > vectors.

Re: [PHP-DEV] [RFC] Performance improvements

2010-04-19 Thread Dmitry Stogov
Kalle Sommer Nielsen wrote: Hi Dmitry 2010/4/19 Dmitry Stogov : Hi, I've added the corresponding patch for APC, so anyone is able to verify the performance difference. http://wiki.php.net/rfc/performanceimprovements Thanks. Dmitry. Dmitry Stogov wrote: In the patched config.w32, you wro

Re: [PHP-DEV] [RFC] Performance improvements

2010-04-19 Thread Kalle Sommer Nielsen
Hi Dmitry 2010/4/19 Dmitry Stogov : > Hi, > > I've added the corresponding patch for APC, so anyone is able to verify the > performance difference. > > http://wiki.php.net/rfc/performanceimprovements > > Thanks. Dmitry. > > Dmitry Stogov wrote: In the patched config.w32, you wrote zend_string.c,

Re: [PHP-DEV] [RFC] Performance improvements

2010-04-19 Thread Dmitry Stogov
Hi, I've added the corresponding patch for APC, so anyone is able to verify the performance difference. http://wiki.php.net/rfc/performanceimprovements Thanks. Dmitry. Dmitry Stogov wrote: Hi, I've published all the patches, their description and performance evaluation at http://wiki.php.

[PHP-DEV] Re: php 5.3, memory leak

2010-04-19 Thread Dmitry Stogov
Hi Alexey, I'll try to take care of it. It's definitely a bug, however I'm not sure how to fix it yet. (I've updated the bug report). Thanks. Dmitry. Alexey Zakhlestin wrote: I was doing some tests with long-running scripts recently and noticed that 5.3 is leaking memory in cases where 5.2 wa