[PHP-DEV] PHP 5.4 alpha release date?

2010-10-20 Thread 高春辉
Hi! New PLAN for 5.4 Alpha or Beta? Derick ? pAUL gAO / gaochun...@gmail.com

RE: [PHP-DEV] Skipping of defaulted parameters.

2010-10-20 Thread Will Fitch
Yup. I'm leaning towards Richard's idea of a predefined constant rather than a new keyword which would effectively do the same thing. The only issue I can see coming out of using the constant would be it's represented value. If a compile-time keyword were used, at least it could be caught there w

Re: [PHP-DEV] Skipping of defaulted parameters.

2010-10-20 Thread Stas Malyshev
Hi! 3 - New keyword of default or void to specifically indicate the intent to use the default value for the argument. Actually, 'default' is already a keyword (switch!), while _ is an actual function name (gettext). So default, syntactically, can work, while _ can't. -- Stanislav Malyshev,

Re: [PHP-DEV] Skipping of defaulted parameters.

2010-10-20 Thread Richard Lynch
On Wed, October 20, 2010 6:58 am, Richard Quadling wrote: > foo(10,, 30); // Parse error. I thought this used to work... > I would argue that by having a null in the arguments, the intent is to > NOT supply a value and have the default value used in the function. Unfortunately, no. There are ti

Re: [PHP-DEV] Continuing the build process after a failed build of an extension.

2010-10-20 Thread Richard Quadling
On 19 October 2010 14:51, Richard Quadling wrote: > On 19 October 2010 14:11, Derick Rethans wrote: >> --enable-snapshot-build > > Close. Will adapt. I don't want everything on, just the ignore build > failures part. > > Thank you. Or I can just use ... nmake /I /I Ignore exit codes from comma

[PHP-DEV] Skipping of defaulted parameters.

2010-10-20 Thread Richard Quadling
Hello. Take the following simple code. According to the manual A variable is considered to be null if it has not been set to any value yet [1]. By default, function arguments are passed by value [2]. When using default arguments, any defaults should be on the right side of any non-default argu