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 an
I 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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php