Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) /zend_compile.c
| From: | Stanislav Malyshev | Date: | Sat, 19 Nov 2005 11:20:49 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_1) /zend_compile.c | ||
| References: | 1 2 3 4 5 6 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4374@lists.php.net to get a copy of this message | ||
AD>>I think yes, NULL should be able to represent "nothing of any type".
AD>>That makes it consistent and that's what I would expect.
Would you expect to get a warning when you pass variable that is
typehinted as array to, for example, join()?
Would you expect a warning if you pass null there?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115