RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) /zend_compile.c
| From: | Stanislav Malyshev | Date: | Sat, 19 Nov 2005 07:03:56 +0000 |
| Subject: | RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) /zend_compile.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4369@lists.php.net to get a copy of this message | ||
AG>>> Compiler allowed (array $a = null), but executor emited error.
AG>>
AG>>Maybe we should fix the compiler?
Yes, I think too that compiler can catch this and output an error. Though
I don't think if it does not it's a bug - after all, compiler is not
supposed to check argument types, it is supposed to check only sytax
correctness.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115