[PHP-DEV] Re: [Patches]#36944, #54556, #55211(and svn karma applying)

2011-07-25 Thread Laruence
Hi: new patch: #55128 SplFixedArray::fromArray() does not use extended class thanks 2011/7/25 Laruence : > Hi: >    recently I was working on PHP bugs. > >    and  submit 3 patches, > >    #36944      strncmp & negative len https://bugs.php.net/bug.php?id=36944 >    #54556  array access to

Re: [PHP-DEV] Reflection, Traits, Aliasing

2011-07-25 Thread Rasmus Lerdorf
On 07/25/2011 02:05 PM, Stefan Marr wrote: > Hi Johannes: > > 2011/7/25 Johannes Schlüter : > >> Now I use reflection on this: >> >> $rc = new ReflectionClass('C'); >> print_r($rc->getTraitAliases()); >> >> Array >> ( >>[tc] => T1::t1 >> ) > > Great, that is nice. > > >> So far so nice but

Re: [PHP-DEV] Reflection, Traits, Aliasing

2011-07-25 Thread Stefan Marr
Hi Johannes: 2011/7/25 Johannes Schlüter : > Now I use reflection on this: > > $rc = new ReflectionClass('C'); > print_r($rc->getTraitAliases()); > > Array > ( >    [tc] => T1::t1 > ) Great, that is nice. > So far so nice but I'm missing the information where C::t1() is coming > from. In the r

[PHP-DEV] session_* removal in 5.4

2011-07-25 Thread JJ
While looking over the release notes for 5.4a1 (http://www.php.net/archive/2011.php#id2011-06-28-1) I noticed that the related session_* functions had been removed. As I interpreted it, this goes against the spirit of the release RFC for x.y+1.z releases, specifically: - Backward compatibility mu

Re: [PHP-DEV] Re: [PHP-WEBMASTER] New web server

2011-07-25 Thread Johannes Schlüter
On Sun, 2011-07-24 at 00:03 +0200, Ferenc Kovacs wrote: > >> On Sat, Jul 23, 2011 at 10:02 PM, IraQue IraQue wrote: > >> > > >> > Hi there PHP! > >> > > >> > I am developing a new web server, and i would like to make it possible > >> > to include PHP in it. As Ferenc said best is to use FastCGI b

[PHP-DEV] Reflection, Traits, Aliasing

2011-07-25 Thread Johannes Schlüter
Stefan, I recently tried to finalize reflection support for traits. Given code like Now I use reflection on this: $rc = new ReflectionClass('C'); print_r($rc->getTraitAliases()); Array ( [tc] => T1::t1 ) So far so nice but I'm missing the information where C::t1() is coming from. In the

[PHP-DEV] [Patches]#36944, #54556, #55211(and svn karma applying)

2011-07-25 Thread Laruence
Hi: recently I was working on PHP bugs. and submit 3 patches, #36944 strncmp & negative len https://bugs.php.net/bug.php?id=36944 #54556 array access to empty var does not trigger a notice https://bugs.php.net/bug.php?id=54556 #55211 ArrayObject::getArrayObject () shou

Re: [PHP-DEV] APC distribute cache/dump files?

2011-07-25 Thread John Carter
Hi Pierre, Is this a technical limitation, or just something you're not particularly interested in doing? John. On Fri, 2011-07-22 at 19:04 +0200, Pierre Joye wrote: > yeah, just re read it and I realized that I miss the zend guard part, > which is definitively not on my todos, and will never b

Re: [PHP-DEV] new gcov.php.net machine is up

2011-07-25 Thread Felipe Pena
2011/7/25 Gwynne Raskind : > On this subject, I've been looking into what produces the largest > warnings spam with a decent set of warnings turned on, and I'd like to > recommend this patch. I can't commit it myself (I don't have Zend > karma), nor would I care to without getting some opinion on i

Re: [PHP-DEV] set the PHP_INI_ENTRY_* values the same as for php.ini-production

2011-07-25 Thread Richard Quadling
On 23 July 2011 23:29, Ferenc Kovacs wrote: > hi. > > We had a discussion about the magic_quotes removal that it is weird > that even though that mq was deprecated in 5.3, we still have/had that > enabled by default (if you didn't set it from the command line or > through a php.ini, the default va

[PHP-DEV] json_encode option for not escaping unnecessary character

2011-07-25 Thread Александр Москалёв
Hello. Can someone check my patch in this request https://bugs.php.net/bug.php?id=53946 ? It would be nice to see it in PHP 5.4 . If a question arises why this is necessary, then see my comments on this bug. Thanks in advance. With respect, Alexander Moskaliov ir...@irker.net