public function writeArray(&$array)
    {
        $length = count($array);
        if (!$length < 0) {
            // write the length of the array
            $this->_stream->writeLong(0);
        } else {
            // Write the length of the numeric array
            $this->_stream->writeLong($length);
            for ($i=0; $i<$length; $i++) {
                $value = isset($array[$i]) ? $array[$i] : null;
                $this->writeTypeMarker($value);
            }
        }
        return $this;
    }
public function writeArray(&$array)
    {
        $length = count($array);
        if (!$length < 0) {
            // write the length of the array
            $this->_stream->writeLong(0);
        } else {
            // Write the length of the numeric array
            $this->_stream->writeLong($length);
            for ($i=0; $i<$length; $i++) {
                $value = isset($array[$i]) ? $array[$i] : null;
                $this->writeTypeMarker($value);
            }
        }
        return $this;
    }
public function writeArray ( & $ array ) { $ length = count ( $ array ) ; if ( ! $ length < 0 ) { // write the length of the array $ this -> _stream -> writeLong ( 0 ) ; } else { // Write the length of the numeric array $ this -> _stream -> writeLong ( $ length ) ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ value = isset ( $ array [ $ i ] ) ? $ array [ $ i ] : null ; $ this -> writeTypeMarker ( $ value ) ; } } return $ this ; }
Write a standard numeric array to the output stream. If a mixed array
is encountered call writeTypeMarker with mixed array.

@param array $array
@return Zend_Amf_Parse_Amf0_Serializer
Write a standard numeric array to the output stream . If a mixed array is encountered call writeTypeMarker with mixed array .