In the class case it doesn't make sense, but for other types it does.

--Wez. 

> AG>>sure if this is the perfect solution:
> AG>>nullable MyClass $a = 5
> 
> I must be missing something, but why typehinted variable 
> should have any 
> default except for null anyway? If someone says "I want only MyClass 
> here!", why he should be able to put 5 there? 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to