original_string: public function readReference()
      {
          $key = $this->_stream->readInt();
          if (!array_key_exists($key, $this->_reference)) {
              require_once 'Zend/Amf/Exception.php';
              throw new Zend_Amf_Exception('Invalid reference key: '. $key);
          }
          return $this->_reference[$key];
      }
code: public function readReference()
      {
          $key = $this->_stream->readInt();
          if (!array_key_exists($key, $this->_reference)) {
              require_once 'Zend/Amf/Exception.php';
              throw new Zend_Amf_Exception('Invalid reference key: '. $key);
          }
          return $this->_reference[$key];
      }
code_tokens: public function readReference ( ) { $ key = $ this -> _stream -> readInt ( ) ; if ( ! array_key_exists ( $ key , $ this -> _reference ) ) { require_once 'Zend/Amf/Exception.php' ; throw new Zend_Amf_Exception ( 'Invalid reference key: ' . $ key ) ; } return $ this -> _reference [ $ key ] ; }
docstring: Read reference objects
  
  Used to gain access to the private array of reference objects.
  Called when marker type is 7.
  
  @return object
  @throws Zend_Amf_Exception for invalid reference keys
docstring_tokens: Read reference objects