Re: Type hints revisited [IllegalArgumentException instead of E_ERROR]
| From: | Andi Gutmans | Date: | Fri, 28 Mar 2003 02:04:05 +0000 |
| Subject: | Re: Type hints revisited [IllegalArgumentException instead of E_ERROR] | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-403@lists.php.net to get a copy of this message | ||
At 10:43 PM 3/27/2003 +0100, Marcus Börger wrote:
At 19:13 27.03.2003, Andi Gutmans wrote:By reference or also by value? AndiAt 06:55 PM 3/27/2003 +0100, Timm Friebe wrote:Ok, sorry, I have been off the ZE2 list for a while (just joined back). Where is there more info on what the type hints do in ZE2. I amOn Thu, 2003-03-27 at 18:45, Brian Moon wrote:I wrote the RFC.curious asSo what are your thought's here? I for one do not see any usage in allowing NULL for parameters passed by reference.Zend/ZEND_CHANGES includes a section about type hints. I suggested allowing NULLs, too, and (following a suggestion by Marcus Börger) implemented a special syntax denoting NULL may also be passed. The implementation probably sucks, leaks memory or does something else which is really evil; it works for me, though:)I must admit that I am still undecided on the NULL issue :)