Net/Notifier/WebSocket/Frame.php
public function getLength()
    {
        $length = $this->length64;

        if ($length == 0) {
            $length = $this->length16;
        }

        if ($length == 0) {
            $length = $this->length;
        }

        return $length;
    }
public function getLength()
    {
        $length = $this->length64;

        if ($length == 0) {
            $length = $this->length16;
        }

        if ($length == 0) {
            $length = $this->length;
        }

        return $length;
    }
public function getLength ( ) { $ length = $ this -> length64 ; if ( $ length == 0 ) { $ length = $ this -> length16 ; } if ( $ length == 0 ) { $ length = $ this -> length ; } return $ length ; }
Gets the length of this frame's payload data in bytes

@return integer the length of this frame's payload data in bytes.

@todo Support long lengths (length values larger than a 32-bit signed
integer.)
Gets the length of this frame s payload data in bytes