2013/1/5 Nikita Popov <nikita....@gmail.com>

> I think that's a very interesting question, thanks for bringing it up. I
> think a good approach here would be the same one used for function argument
> typehints, i.e. allow NULL when NULL is specified as the default value. So
> `public DateTime $date;` would not allow an explicit NULL assignment,
> whereas `public DateTime $date = NULL;` would.


I was wondering about this question too. I really like that solution.

Bernhard

Reply via email to