Hi!

Only because there is a class hint (currently supported) function foo (StdClass $foo) {} and there was a request to support a generic object hint. So one became IS_CLASS and one is IS_OBJECT.

I'd say IS_OBJECT can fit both - we could treat empty class name as "any object".
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

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

Reply via email to