private function fromUInt24($value, $order = 0)
    {
        list(, $int) = unpack(
            ($order == self::BIG_ENDIAN_ORDER ? 'N' : ($order == self::LITTLE_ENDIAN_ORDER ? 'V' : 'L')) . '*',
            $this->isLittleEndian() ? ("\x00" . $value) : ($value . "\x00")
        );
        return $int;
    }
private function fromUInt24($value, $order = 0)
    {
        list(, $int) = unpack(
            ($order == self::BIG_ENDIAN_ORDER ? 'N' : ($order == self::LITTLE_ENDIAN_ORDER ? 'V' : 'L')) . '*',
            $this->isLittleEndian() ? ("\x00" . $value) : ($value . "\x00")
        );
        return $int;
    }
private function fromUInt24 ( $ value , $ order = 0 ) { list ( , $ int ) = unpack ( ( $ order == self :: BIG_ENDIAN_ORDER ? 'N' : ( $ order == self :: LITTLE_ENDIAN_ORDER ? 'V' : 'L' ) ) . '*' , $ this -> isLittleEndian ( ) ? ( "\x00" . $ value ) : ( $ value . "\x00" ) ) ; return $ int ; }
Returns machine endian ordered binary data as unsigned 24-bit integer.

@param string  $value The binary data string.
@param integer $order The byte order of the binary data string.
@return integer
Returns machine endian ordered binary data as unsigned 24 - bit integer .