original_string: public function writeObject($object)
      {
          // Loop each element and write the name of the property.
          foreach ($object as $key => &$value) {
              // skip variables starting with an _ private transient
              if( $key[0] == "_") continue;
              $this->_stream->writeUTF($key);
              $this->writeTypeMarker($value);
          }
  
          // Write the end object flag
          $this->_stream->writeInt(0);
          $this->_stream->writeByte(Zend_Amf_Constants::AMF0_OBJECTTERM);
          return $this;
      }
code: public function writeObject($object)
      {
          // Loop each element and write the name of the property.
          foreach ($object as $key => &$value) {
              // skip variables starting with an _ private transient
              if( $key[0] == "_") continue;
              $this->_stream->writeUTF($key);
              $this->writeTypeMarker($value);
          }
  
          // Write the end object flag
          $this->_stream->writeInt(0);
          $this->_stream->writeByte(Zend_Amf_Constants::AMF0_OBJECTTERM);
          return $this;
      }
code_tokens: public function writeObject ( $ object ) { // Loop each element and write the name of the property. foreach ( $ object as $ key => & $ value ) { // skip variables starting with an _ private transient if ( $ key [ 0 ] == "_" ) continue ; $ this -> _stream -> writeUTF ( $ key ) ; $ this -> writeTypeMarker ( $ value ) ; } // Write the end object flag $ this -> _stream -> writeInt ( 0 ) ; $ this -> _stream -> writeByte ( Zend_Amf_Constants :: AMF0_OBJECTTERM ) ; return $ this ; }
docstring: Write a PHP array with string or mixed keys.
  
  @param object $data
  @return Zend_Amf_Parse_Amf0_Serializer
docstring_tokens: Write a PHP array with string or mixed keys .