Re: [PHP-DEV] release-qa.php and README.RELEASE_PROCESS

2011-11-12 Thread Ferenc Kovacs
Hi Pierre, This thread isn't related to ci.qa.php.net in any way, from your reply it seems that you think it does. Of course I could fetch the list of branches from svn, but I don't need the list of all branches, just the supported ones, and as I said, currently there is no way (not that I'm aware

[PHP-DEV] get_magic_quotes_gpc() throws deprecated warning in 5.4

2011-11-12 Thread David Zülke
I looked through the mailing list archives, and in several threads the consensus seemed to be that the setters should throw a warning, but the getters should not... > localhost:test dzuelke$ ~/Code/oss/php/php-5.4.0RC1/sapi/cli/php -v > PHP 5.4.0RC1 (cli) (built: Nov 11 2011 19:53:40) > Copyrig

Re: [PHP-DEV] get_magic_quotes_gpc() throws deprecated warning in 5.4

2011-11-12 Thread David Zülke
Had a few other tests failing, updated those accordingly and attached a newer version. David On 12.11.2011, at 12:06, David Zülke wrote: > I looked through the mailing list archives, and in several threads the > consensus seemed to be that the setters should throw a warning, but the > getter

Re: [PHP-DEV] Load extensions for .user.ini files

2011-11-12 Thread Edward Z. Yang
Excerpts from Hannes Magnusson's message of Fri Nov 11 18:54:27 -0500 2011: > Hmh. > Whats the difference between .user.ini and -dextension=? > I hate it when bucketloads of .ini files are picked up when I run PHP via cli The idea would be to make it easy to simulate the same configuration as when

Re: [PHP-DEV] Load extensions for .user.ini files

2011-11-12 Thread Pierre Joye
On Sat, Nov 12, 2011 at 7:54 PM, Edward Z. Yang wrote: > Excerpts from Hannes Magnusson's message of Fri Nov 11 18:54:27 -0500 2011: >> Hmh. >> Whats the difference between .user.ini and -dextension=? >> I hate it when bucketloads of .ini files are picked up when I run PHP via cli > > The idea wou

[PHP-DEV] ext/standard/tests/http tests

2011-11-12 Thread Rasmus Lerdorf
Hey Gustavo, you added a simple http server and some tests a year ago. I think we have some bitrot on them as they are all failing for me and also on gcov: http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fstandard%2Ftests%2Fhttp%2Fbug38802.phpt http://gcov.php.net/viewer.php?ve

Re: [PHP-DEV] Wrong/outdated usernames in SVNROOT/global_avail

2011-11-12 Thread Ferenc Kovacs
On Sat, Nov 12, 2011 at 1:56 AM, Florian Anderiasch wrote: > Hey there, > I just noticed some inconsistencies in svn usernames used in > SVNROOT/global_avail. > > After some shell magic involving sed,grep and diff these names don't match > the 1607 people on master, as of a few minutes ago. > > So

[PHP-DEV] [PATCH] Making in_array a language operator

2011-11-12 Thread Antoine Delignat-Lavaud
Hello, While browsing through the changelog for PHP 5.4, I noticed the new short syntax for creating arrays. I had been wanting this feature for a very long time, and this pushed me to make a proposal for a similar syntax change to make PHP more elegant. My proposal is simply to add an infix

Re: [PHP-DEV] [PATCH] Making in_array a language operator

2011-11-12 Thread Johannes Schlüter
Hi, On Sun, 2011-11-13 at 02:37 +0100, Antoine Delignat-Lavaud wrote: > > if(($v1=="a1" || $v=="a2" || ...) && ($v2=="b1" || $v2=="b2" ||...) > && ...) This could also be written as if (in_array($v1, ["a1", "a2", ...]) && in_array($v2m ["b1", "b2", ...])) > by replacing them with: > > if($v