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

From: 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 [email protected] 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
[email protected]  http://www.zend.com/ +972-3-6139665 ext.115


Thread (19 messages)

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