Zeev, Andi It appears that the bug we talked about in private correspondence does not just apply to object overloading. It appears to apply to normal objects as well.
Consider the following code: class test { var $dummy; function do_something() { print "Hello\n"; } } $obj=new test(); debug_zval_dump($obj); $obj->do_something(); debug_zval_dump($obj); This will produce the following output: object(test)(1) refcount(2){ ["dummy"]=> long(1) refcount(2) } Hello object(test)(1) refcount(1){ ["dummy"]=> long(1) refcount(3) } ZEND_SEND_VAR is the opcode that does this in this scenario as well -jason -- Jason T. Greene Internet Software Engineer <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Use PHP: http://www.php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php