Hi! >> * Make is_object() return true for IncompleteClass. This is just >> ridiculous. I care zero about the theoretical BC impact. > > I have no idea why it doesn't do so. I'll try to dig up when it was made > so and see if there's some explanation.
This is the change that caused it: commit 7b3fb771e4b022a8bf74b1a881dbec67d3ad460b Author: Yasuo Ohgaki <yohg...@php.net> Date: Wed Jul 24 09:55:11 2002 +0000 is_object() returns FALSE if object is a "incomplete object". Raise E_NOTICE, instead of E_ERROR, for setting/getting properties to/from a "incomplete object". There's some discussion on this patch: http://grokbase.com/t/php/php-dev/027rwwmc8k/php-cvs-cvs-php4-ext-standard-incomplete-class-c-php-incomplete-class-h-type-c There are references to previous discussions but I couldn't find it. Yasuo, I realize it was a long time ago, but maybe you remember why it was done and can weight in on this? -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php