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

From: Date: Sat, 19 Nov 2005 07:21:31 +0000
Subject: RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) /zend_compile.c
References: 1 2 3 4  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4370@lists.php.net to get a copy of this message
SM>>Yes, I think too that compiler can catch this and output an error. Though On the second thought - if we don't write a default, is null allowed to places typehinted as array? If not, we should keep both things consistent. I.e., if we allow it as default, we should allow it in typehint too. This, however, may lead to some surprises. I know Java allows nulls to represent any type - should we do the same? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

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