DR>>I was also wondering if the following would also work:
DR>>
DR>>class b extends a { }
DR>>
DR>>function foo (a $obj) { }
DR>>
DR>>$b = new b;
DR>>foo($b);
DR>>
DR>>(ie, an inherited class also passes the hint check)

This should definitely work. As I see from current code, it also does :)
-- 
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

Reply via email to