Re: [RFC] Type hints
| From: | Timm Friebe | Date: | Sun, 02 May 2004 17:00:04 +0000 |
| Subject: | Re: [RFC] Type hints | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9634@lists.php.net to get a copy of this message | ||
On Sat, 2004-05-01 at 22:09, Marcus Boerger wrote:
> Hello internals,
[...]
While thinking about this for a while and playing around with different
notations, I stumbled across the following:
function foo(Foo $f = 1) { }
This will actually "compile" (but never work). It doesn't make any sense
anyway. In my opinion, this should give an E_COMPILE_ERROR.
- Timm