fixed SplObjectStorage::attach() & SplObjectStorage::offsetSet(), to fix zend test observer_007.php