protected function pack_int($int) {
        if (PHP_INT_SIZE === 8) {
            $left = 0xffffffff00000000;
            $right = 0x00000000ffffffff;
            $l = ($int & $left) >>32;
            $r = $int & $right;

            return pack('NN', $l, $r);
        } else {
            return pack('NN', 0, $int);
        }
    }
protected function pack_int($int) {
        if (PHP_INT_SIZE === 8) {
            $left = 0xffffffff00000000;
            $right = 0x00000000ffffffff;
            $l = ($int & $left) >>32;
            $r = $int & $right;

            return pack('NN', $l, $r);
        } else {
            return pack('NN', 0, $int);
        }
    }
protected function pack_int ( $ int ) { if ( PHP_INT_SIZE === 8 ) { $ left = 0xffffffff00000000 ; $ right = 0x00000000ffffffff ; $ l = ( $ int & $ left ) >> 32 ; $ r = $ int & $ right ; return pack ( 'NN' , $ l , $ r ) ; } else { return pack ( 'NN' , 0 , $ int ) ; } }
Pack an integer into a pair of 32-bit numbers.

@param int $int The integer to pack
@return string The encoded binary data
Pack an integer into a pair of 32 - bit numbers .