protected function resetReferences() { $this->amf0storedObjects = array(); $this->storedStrings = array(); $this->storedObjects = array(); $this->storedDefinitions = array(); }