Re: [PHP-DEV] Re: Generators in PHP

2012-07-28 Thread Rasmus Lerdorf
On 07/26/2012 11:36 PM, Alex Aulbach wrote: 1) The bigger the language grows, the more we need to think about how to implement new features. I think it's a bad argument to say we made this and that not so ideal, so we can make this also. Don't be so idealistic. :) I think it's a duty to make

Re: [PHP-DEV] [PATCH] Enable extension loading from .user.ini when run as CGI.

2012-07-28 Thread Pierre Joye
Hi Edward, On Sat, Jul 28, 2012 at 12:57 AM, Edward Z. Yang ezy...@mit.edu wrote: From: Edward Z. Yang ezy...@mit.edu Functionality is not included for other SAPIs because they either do not support .user.ini (e.g. CLI) or they serve multiple requests and thus do not support dl() (e.g.

Re: [PHP-DEV] [PATCH] Enable extension loading from .user.ini when run as CGI.

2012-07-28 Thread Edward Z. Yang
Excerpts from Pierre Joye's message of Sat Jul 28 02:20:51 -0400 2012: Functionality is not included for other SAPIs because they either do not support .user.ini (e.g. CLI) or they serve multiple requests and thus do not support dl() (e.g. FastCGI). dl has been disabled in FastCGI and

Re: [PHP-DEV] [PATCH] Enable extension loading from .user.ini when run as CGI.

2012-07-28 Thread Pierre Joye
On Sat, Jul 28, 2012 at 8:27 AM, Edward Z. Yang ezy...@mit.edu wrote: Excerpts from Pierre Joye's message of Sat Jul 28 02:20:51 -0400 2012: Functionality is not included for other SAPIs because they either do not support .user.ini (e.g. CLI) or they serve multiple requests and thus do not

Re: [PHP-DEV] [PATCH] Enable extension loading from .user.ini when run as CGI.

2012-07-28 Thread Pierre Joye
On Sat, Jul 28, 2012 at 8:34 AM, Pierre Joye pierre@gmail.com wrote: Sure, I can split in two. Does PHP use pull requests? Yes, via github's php mirror, see https://wiki.php.net/vcs/gitworkflow https://github.com/php/php-src -- Pierre @pierrejoye | http://blog.thepimp.net |

Re: [PHP-DEV] Re: Generators in PHP

2012-07-28 Thread Lester Caine
Rasmus Lerdorf wrote: I don't think this generator question is any different. We need to explain generators in the simplest way possible. The simplest way to explain generators is to not even worry about them being generators at all. Simply say that functions can now return arrays one element at

Re: [PHP-DEV] Re: Generators in PHP

2012-07-28 Thread Rasmus Lerdorf
On 07/27/2012 11:59 PM, Lester Caine wrote: Rasmus Lerdorf wrote: I don't think this generator question is any different. We need to explain generators in the simplest way possible. The simplest way to explain generators is to not even worry about them being generators at all. Simply say that

Re: [PHP-DEV] Re: Generators in PHP

2012-07-28 Thread Lester Caine
Rasmus Lerdorf wrote: I don't think this generator question is any different. We need to explain generators in the simplest way possible. The simplest way to explain generators is to not even worry about them being generators at all. Simply say that functions can now return arrays one element at

Re: [PHP-DEV] Re: Generators in PHP

2012-07-28 Thread Rasmus Lerdorf
On 07/28/2012 12:37 AM, Lester Caine wrote: Rasmus Lerdorf wrote: I don't think this generator question is any different. We need to explain generators in the simplest way possible. The simplest way to explain generators is to not even worry about them being generators at all. Simply say

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Johannes Schlüter
On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: after working for some time with the PHP test suite I've realized - it needs an improvement of a special kind. What I'm talking about is the server based testing. Very urgent cases have shown them up working with APC. Most of the

Re: [PHP-DEV] Run-tests.php JUnit format issue

2012-07-28 Thread Gustavo Lopes
Em Sat, 28 Jul 2012 01:40:33 +0200, Ferenc Kovacs tyr...@gmail.com escreveu: ps2: I think there would be still one hiccup in the code: afair we didn't handled the case when a CDATA closure happens to be in the test output, that could be handled by

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Rasmus Lerdorf
On 07/28/2012 07:09 AM, Johannes Schlüter wrote: On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: after working for some time with the PHP test suite I've realized - it needs an improvement of a special kind. What I'm talking about is the server based testing. Very urgent cases have

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Ferenc Kovacs
On Sat, Jul 28, 2012 at 7:08 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 07/28/2012 07:09 AM, Johannes Schlüter wrote: On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: after working for some time with the PHP test suite I've realized - it needs an improvement of a special

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Johannes Schlüter
On Sat, 2012-07-28 at 10:08 -0700, Rasmus Lerdorf wrote: For that I once created a special SAPI, which can also do multi-threading: https://github.com/johannes/pconn-sapi http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Rasmus Lerdorf
On 07/28/2012 11:24 AM, Johannes Schlüter wrote: On Sat, 2012-07-28 at 10:08 -0700, Rasmus Lerdorf wrote: For that I once created a special SAPI, which can also do multi-threading: https://github.com/johannes/pconn-sapi

Re: [PHP-DEV] Re: [php-maint] Bug#612743: php5: PHP is compiled with LFS support, but this can not be detected by extensions

2012-07-28 Thread Ferenc Kovacs
On Fri, Mar 18, 2011 at 5:08 PM, Derick Rethans der...@derickrethans.nlwrote: On Fri, 18 Mar 2011, Ondřej Surý wrote: On Thu, Feb 10, 2011 at 13:37, Ondřej Surý ond...@debian.org wrote: On Thu, Feb 10, 2011, Derick wrote: I know it doesn't; I was asking for making it detectable.

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Anatoliy Belsky
Thanks for encouraging me on this idea. I'm putting it on my list then. Will check for what Johannes did as it possibly could be combined with the existing stuff. And if someone is also interested on adding this feature - so much the better, just drop me a line :) Am Sa, 28.07.2012, 20:33

[PHP-DEV] notes on a couple of RFCs

2012-07-28 Thread Rasmus Schultz
Is this RFC outdated? https://wiki.php.net/rfc/jsonable We have JsonSerializable in 5.4 - this appears to be essentially the same thing? (Should it be moved from draft to implemented, or should it just be removed? It was not implemented with the names used in this RFC.) I was also looking at