[PHP-DEV] Call non-static method staticly raise E_STRICT, but why call a static method instancely won't

2011-04-23 Thread reeze
Hi, I am not sure it's the right place to discuss this. someday I found I call a static method _instancely_. the method is just a helper method when reviewing my code. I know I do the wrong thing, but PHP doesn't complain about it. then I do some tests like below: staticFunc(); // Just static n

Re: [PHP-DEV] PHPUnit segfault

2011-04-23 Thread Antony Dovgal
On 04/23/2011 02:43 AM, Andras Albert Gyomrey Leal wrote: Hi, I'm a bit lost here. Don't know where to go, since PHP 5.3.6 i'm getting random segfaults using PHPUnit. Xdebug disabledPHPUnit 3.5.13CentOS 5.1Linux 2.6.18-028stab070.5 #1 SMP Fri Sep 17 15:37:23 MSD 2010 i686 i686 i386 GNU/LinuxC

Re: [PHP-DEV] Unmaintained SAPIs

2011-04-23 Thread Sanford Whiteman
> isapi (is FastCGI now preferred on Win?) Pls don't remove ISAPI, as it still workswindofor 5.3 even if deprecated. We still use it as part of third-party x64 Windows builds. -- Sandy -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/un

Re: [PHP-DEV] [PATCH] Add option to disable POST data processing

2011-04-23 Thread Gustavo Lopes
On Sat, 23 Apr 2011 14:23:00 +0100, Ferenc Kovacs wrote: On Tue, Dec 7, 2010 at 8:08 AM, Gustavo Lopes wrote: The very simple attached patch adds an option to disable POST data processing, which implies the data can only be read in a stream fashion through php://input. Did we agree on so

Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-23 Thread Ferenc Kovacs
On Sat, Apr 23, 2011 at 1:21 PM, Hannes Landeholm wrote: > I was planning on replying to the "coalesce" suggestion but you really took > my concerns and stated them much better than I could have myself, plus a > couple of other concerns I didn't even think about. > > To respond to Arpad Ray's stat

Re: [PHP-DEV] [PATCH] Add option to disable POST data processing

2011-04-23 Thread Ferenc Kovacs
On Tue, Dec 7, 2010 at 8:08 AM, Gustavo Lopes wrote: > The very simple attached patch adds an option to disable POST data > processing, which implies the data can only be read in a stream fashion > through php://input. > > As far as I know, PHP offers no way to inhibit processing RFC 1867 data and

Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-23 Thread Hannes Landeholm
I was planning on replying to the "coalesce" suggestion but you really took my concerns and stated them much better than I could have myself, plus a couple of other concerns I didn't even think about. To respond to Arpad Ray's statement: "To elaborate, I'd probably think this code was an unlikely

Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-23 Thread Stefan Marr
Hi: On 19 Apr 2011, at 09:18, Stas Malyshev wrote: > 2. Traits - I remember there was some unfinished business there? I am not aware of anything that could not be fixed before an alpha release. However, I would really appreciate if the community could commit to some release procedure and schedu

[PHP-DEV] Header file out of date

2011-04-23 Thread Alessandro Nadalin
Hy guys, I don't know if this is the right ML, but I just noted that the header file is outdated ( 2010 ): http://svn.php.net/viewvc/php/php-src/trunk/header?view=markup cheers, -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_ -- PHP Internals - PHP Runtime Development Mailing List

RE: [PHP-DEV] Unmaintained SAPIs

2011-04-23 Thread Uwe Schindler
Hi, I am fine with the list! The SAPIs listed for dropping have serious problems because they were not updated (some $_SERVER vars missing, authentication probs,...), making them unuseable with common applications. I just wanted to confirm, that I take care of NSAPI, this is working fine. On the