From: [EMAIL PROTECTED] Operating system: win98, debian linux PHP version: 4.0.3pl1 PHP Bug Type: Reproduceable crash Bug description: referenced objects <? class objekt { var $property; function objekt() { $this->property = 'okey'; } function property() { echo "<br>$this->property"; } function &gb_objekt() { $obj =& $GLOBALS['gb_objekt']; if (get_class($obj) != 'objekt') { $obj = new objekt(); } return $obj; } } $gb_objekt =& objekt::gb_objekt(); // next line crashes $gb_objekt->property(); $objekt =& objekt::gb_objekt(); $objekt->property = 'more okey'; $objekt->property(); $gb_objekt->property(); ?> -- Edit Bug report at: http://bugs.php.net/?id=10068&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]