[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 a

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 schrieb

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 wrote: > On Fri, 18 Mar 2011, Ondřej Surý wrote: > > > On Thu, Feb 10, 2011 at 13:37, Ondřej Surý wrote: > > > > > On Thu, Feb 10, 2011, Derick wrote: > > > > > >> I know it doesn't; I was asking for making it detectable. Perhaps > > >> instead of L

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 >>> >>> http://schlueters.de/blog/archives/166-Testing-pers

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

Re: [PHP-DEV] PHP test suite

2012-07-28 Thread Ferenc Kovacs
On Sat, Jul 28, 2012 at 7:08 PM, Rasmus Lerdorf 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 kind. Wha

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 cas

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 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 http://www.lshift.net/blog/2007/10/25/xml-cdata-and-escaping I

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] 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

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 eleme

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

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