Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) / zend_compile.c

From: Date: Tue, 15 Nov 2005 18:55:35 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) / zend_compile.c
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4338@lists.php.net to get a copy of this message
On Tue, 15 Nov 2005, Dmitry Stogov wrote: > dmitry Tue Nov 15 11:49:44 2005 EDT > > Modified files: (Branch: PHP_5_1) > /ZendEngine2 zend_compile.c > Log: > Allow "null" default value for arguments with array type hint Hello Dmitry, I didn't implement this because in those cases you should set the default to = array(), and this is working fine even before your patch: function boo(array $ar = array()) { } This is why I didn't implement this for array, as it doesn't make much sense to me. Derick

« previous php.zend-engine.cvs (#4338) next »