original_string: public function readObject($object = null)
      {
          if ($object === null) {
              $object = array();
          }
  
          while (true) {
              $key        = $this->_stream->readUTF();
              $typeMarker = $this->_stream->readByte();
              if ($typeMarker != Zend_Amf_Constants::AMF0_OBJECTTERM ){
                  //Recursivly call readTypeMarker to get the types of properties in the object
                  $object[$key] = $this->readTypeMarker($typeMarker);
              } else {
                  //encountered AMF object terminator
                  break;
              }
          }
          $this->_reference[] = $object;
          return (object) $object;
      }
code: public function readObject($object = null)
      {
          if ($object === null) {
              $object = array();
          }
  
          while (true) {
              $key        = $this->_stream->readUTF();
              $typeMarker = $this->_stream->readByte();
              if ($typeMarker != Zend_Amf_Constants::AMF0_OBJECTTERM ){
                  //Recursivly call readTypeMarker to get the types of properties in the object
                  $object[$key] = $this->readTypeMarker($typeMarker);
              } else {
                  //encountered AMF object terminator
                  break;
              }
          }
          $this->_reference[] = $object;
          return (object) $object;
      }
code_tokens: public function readObject ( $ object = null ) { if ( $ object === null ) { $ object = array ( ) ; } while ( true ) { $ key = $ this -> _stream -> readUTF ( ) ; $ typeMarker = $ this -> _stream -> readByte ( ) ; if ( $ typeMarker != Zend_Amf_Constants :: AMF0_OBJECTTERM ) { //Recursivly call readTypeMarker to get the types of properties in the object $ object [ $ key ] = $ this -> readTypeMarker ( $ typeMarker ) ; } else { //encountered AMF object terminator break ; } } $ this -> _reference [ ] = $ object ; return ( object ) $ object ; }
docstring: Read AMF objects and convert to PHP objects
  
  Read the name value pair objects form the php message and convert them to
  a php object class.
  
  Called when the marker type is 3.
  
  @param  array|null $object
  @return object
docstring_tokens: Read AMF objects and convert to PHP objects