public function testUnpackUint64AsGmp()
{
$unpacker = new BufferUnpacker(BufferUnpacker::INT_AS_GMP);
$unpacker->reset("�" . "����" . "����");
$uint64 = $unpacker->unpack();
if (PHP_VERSION_ID < 50600) {
$this->assertInternalType('resource', $uint64);
} else {
$this->assertInstanceOf('GMP', $uint64);
}
$this->assertSame('18446744073709551615', gmp_strval($uint64));
}