[PHP-DEV] SVN Account Request: orange_ribbon

2011-07-06 Thread Jason M Galm
I would submit additions to the math functions already included. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Mike Robinson
On July-06-11 11:49 AM Peter Cowburn [mailto:petercowb...@gmail.com] > On 6 July 2011 16:04, Richard Quadling wrote: > > > > What happens of both LOUD and quiet are used. Personally, I'd say > > this is an error and abort. > > > > An error, and abort silently. :) Whatever the consensus is. :)

Re: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Johannes Schlüter
On Wed, 2011-07-06 at 16:46 +0100, Richard Quadling wrote: > 2011/7/6 Johannes Schlüter : > > On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: > >> C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose > > > > That happens with all options. > > $ php -n run-tests.php -n > > >

Re: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Peter Cowburn
On 6 July 2011 16:04, Richard Quadling wrote: > On 6 July 2011 15:14, Mike Robinson wrote: >> On July-06-11 12:58 AM Adam Harvey wrote: >> >> >>> On 6 July 2011 06:00, Richard Quadling wrote: >>> > I'd also add in the display_startup_errors to this also. As I see it, >>> > the idea is to make th

Re: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Richard Quadling
2011/7/6 Johannes Schlüter : > On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: >> C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose > > That happens with all options. >   $ php -n run-tests.php -n > You missed out the -- That separates arguments from php.exe and the scri

Re: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Johannes Schlüter
On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: > C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose That happens with all options. $ php -n run-tests.php -n > Non bikeshedding thought ... > > Being able to enable full error reporting at the command line has to > be c

Re: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Richard Quadling
On 6 July 2011 15:14, Mike Robinson wrote: > On July-06-11 12:58 AM Adam Harvey wrote: > > >> On 6 July 2011 06:00, Richard Quadling wrote: >> > I'd also add in the display_startup_errors to this also. As I see it, >> > the idea is to make things as noisy or as quiet as possible. >> >> Agreed. Th

RE: [PHP-DEV] [RFC] -W option for CLI "strict mode"

2011-07-06 Thread Mike Robinson
On July-06-11 12:58 AM Adam Harvey wrote: > On 6 July 2011 06:00, Richard Quadling wrote: > > I'd also add in the display_startup_errors to this also. As I see it, > > the idea is to make things as noisy or as quiet as possible. > > Agreed. That was an oversight on my part. I'll update the patc

Re: [PHP-DEV] [RFC] foreach_variable supporting T_LIST token

2011-07-06 Thread Xinchen Hui
Hi: first of all, I am a guy whose english is poor, sorry for making you confuse. the feature request is here: https://bugs.php.net/bug.php?id=10203 and I think this can make php code more flexible, and more making sense. example: foreach (array( array(3, array(1, 2)), ar

Re: [PHP-DEV] [RFC] foreach_variable supporting T_LIST token

2011-07-06 Thread Stefan Neufeind
Hi, On 07/06/2011 03:06 PM, Hannes Magnusson wrote: > 2011/7/6 Xinchen Hui : >> >> T_LIST is not allowed to used with foreach before. >> >> and then there comes a freature request: #10203 allow >> foreach($array as list($a,$b) > > Ironically enough you managed to miss the last closing ), en

Re: [PHP-DEV] [RFC] foreach_variable supporting T_LIST token

2011-07-06 Thread Hannes Magnusson
2011/7/6 Xinchen Hui : > Hi: > >   T_LIST is not allowed to used with foreach before. > >   and then there comes a freature request:  #10203  allow > foreach($array as list($a,$b) Ironically enough you managed to miss the last closing ), enforcing the point of this not being a natural syntax. Fur

[PHP-DEV] [RFC] foreach_variable supporting T_LIST token

2011-07-06 Thread Xinchen Hui
Hi: T_LIST is not allowed to used with foreach before. and then there comes a freature request: #10203 allow foreach($array as list($a,$b) I have work on it, and now submit patch to internal. I have set up a rfc page in wiki.php.net: https://wiki.php.net/rfc/foreachlist do you

[PHP-DEV] Re: foreach statement add list supporting

2011-07-06 Thread Xinchen Hui
Hi: RFC was moved to https://wiki.php.net/rfc/foreachlist. sorry for previous wrong folder rfc page, I have deleted previous one. thanks 2011/7/6 Xinchen Hui : > Hi: >    T_LIST is not allowed to used with foreach before. > >    and then there comes a freature request:  #10203  allow >