Re: [PHP-DEV] Array dereferencing using alternative array syntax

2011-10-09 Thread Peter Cowburn
Hi Nikita, On 9 October 2011 18:14, Nikita Popov wrote: > Hi list! > > PHP 5.4 added array dereferencing support (e.g. `func()[1]`), but the > grammar seems to lack support for dereferencing using the alternative > array access syntax (e.g. `func(){1}`). Was this done on purpose or > was it just

Re: [PHP-DEV] Version control

2011-10-09 Thread Lester Caine
Ferenc Kovacs wrote: On Sun, Oct 9, 2011 at 6:31 PM, Lester Caine wrote: Ferenc Kovacs wrote: "on the rather one sided discussion on DVCS" I disagree with that part of your comment. More people are already using git and are not open to changing so the discussion was rather one sided. :( Tod

Re: [PHP-DEV] Version control

2011-10-09 Thread Ferenc Kovacs
On Sun, Oct 9, 2011 at 6:31 PM, Lester Caine wrote: > Ferenc Kovacs wrote: >> >> "on the rather one sided discussion on DVCS" >> I disagree with that part of your comment. > > More people are already using git and are not open to changing so the > discussion was rather one sided. :( Today that is

[PHP-DEV] Array dereferencing using alternative array syntax

2011-10-09 Thread Nikita Popov
Hi list! PHP 5.4 added array dereferencing support (e.g. `func()[1]`), but the grammar seems to lack support for dereferencing using the alternative array access syntax (e.g. `func(){1}`). Was this done on purpose or was it just forgotten? Some links: http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_

Re: [PHP-DEV] bug #47358 -- unexpected behaviour

2011-10-09 Thread Pierre Joye
hi, Thanks for the headup! I added a comment and attached a patch (against 5.4) to fix this problem, let me know how it works. I will apply to all branches later. On Sun, Oct 9, 2011 at 5:40 PM, Harald Lapp wrote: > hi, > > could someone please enlighten me, why bug #47358 > http://bugs.php.net

Re: [PHP-DEV] Version control

2011-10-09 Thread Lester Caine
Ferenc Kovacs wrote: "on the rather one sided discussion on DVCS" I disagree with that part of your comment. More people are already using git and are not open to changing so the discussion was rather one sided. :( Today that is probably the right choice and does not bother me since hg just w

Re: [PHP-DEV] bug #47358 -- unexpected behaviour

2011-10-09 Thread Ferenc Kovacs
Hi, My first instinct tells me, that it was closed by mistake, as from the first comment it could seem as the reported problem only happens if the path given to glob is outside of open_basedir. As the reported explained in his second comment, it is not the case, but glob returns different result f

Re: [PHP-DEV] Version control

2011-10-09 Thread Ferenc Kovacs
hi. "on the rather one sided discussion on DVCS" I disagree with that part of your comment. On Sun, Oct 9, 2011 at 1:45 PM, Lester Caine wrote: > While the stable door has already been slammed shut, I think this will be of > interest to other developers ... > http://www.ericsink.com/vcbe/index.h

[PHP-DEV] bug #47358 -- unexpected behaviour

2011-10-09 Thread Harald Lapp
hi, could someone please enlighten me, why bug #47358 http://bugs.php.net/bug.php?id=47358 was closed as "bogus"? the bug was reported for 5.2.9 but applies to 5.3.x and 5.4.x as well. i can't see, why glob should return 'false' if the search pattern does not match, even though if the directory

[PHP-DEV] Version control

2011-10-09 Thread Lester Caine
While the stable door has already been slammed shut, I think this will be of interest to other developers ... http://www.ericsink.com/vcbe/index.html Many of the points made have a direct bearing on the rather one sided discussion on DVCS and the best practice seciton of the book is well worth