Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-16 Thread Sebastian Bergmann
Derick Rethans schrieb: > That seems to work fine already Even better :-) -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-16 Thread Derick Rethans
On Sun, 16 Oct 2005, Derick Rethans wrote: > > In any case, as I could never think of a better syntax to deal with the > > somewhat harmless ambiguity of default value and "allowing" null, I don't > > mind > > having this patch. It should be documented though that this syntax comes to > > serve b

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-16 Thread Derick Rethans
On Sun, 16 Oct 2005, Sebastian Bergmann wrote: > Andi Gutmans schrieb: > > I'm talking about the following function decleration: > > > > function testNull(MyClass $obj = 1) { > > } > > The following should work, too, to allow optional, type-hinted Array > parameters: > >function someMetho

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-16 Thread Sebastian Bergmann
Andi Gutmans schrieb: > I'm talking about the following function decleration: > > function testNull(MyClass $obj = 1) { > } The following should work, too, to allow optional, type-hinted Array parameters: function someMethod(Array $array = array()) { } -- Sebastian Bergmann

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-15 Thread Andi Gutmans
Ouch, I missed that. Sorry. At 05:23 PM 10/15/2005, Derick Rethans wrote: Hello Andi, On Sat, 15 Oct 2005, Andi Gutmans wrote: > After the millions of discussions on this topic it would have been better to > share this patch with everyone before commiting. I did, last week: http://news.php.

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-15 Thread Derick Rethans
Hello Andi, On Sat, 15 Oct 2005, Andi Gutmans wrote: > After the millions of discussions on this topic it would have been better to > share this patch with everyone before commiting. I did, last week: http://news.php.net/php.internals/19482 > In any case, as I could never think of a better synt

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src NEWS

2005-10-15 Thread Andi Gutmans
Hey Marcus, Derick, After the millions of discussions on this topic it would have been better to share this patch with everyone before commiting. In any case, as I could never think of a better syntax to deal with the somewhat harmless ambiguity of default value and "allowing" null, I don't mi