Re: [RFC] Type hints
| From: | Christian Schneider | Date: | Sun, 09 May 2004 21:36:25 +0000 |
| Subject: | Re: [RFC] Type hints | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9773@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
I thought about this a bit more, but couldn't actually see why something like "nullable" is needed at all. Simple solution: If you expect anI second that. I think it's the creeping feature creature at work here. I think we should _not_ complicate the PHP syntax here. Just a thought: Allow default values to violate the type hint (maybe only a default value of null). - Chris