> The following (Zeev's idea) is much simpler and nicer, but 
> I'm not 100% 
> sure if this is the perfect solution:

> nullable MyClass $a = 5

I agree; this is the nicest so far, and like you, and I'm not 100% sure
if it is the perfect solution.

+1 on this, unless someone comes up with something better :)

--Wez.

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

Reply via email to