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? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
