packI64() public method

Pack 64-bit signed
public packI64 ( integer | string $v ) : string
$v integer | string
return string
Ejemplo n.º 1
0
 /**
  * @dataProvider provideBigintSigned
  */
 public function testPackBigintSigned($bigint)
 {
     $sphinx = new SphinxClient();
     // packing and unpacking may not preserve data type
     $this->assertEquals($sphinx->unpackI64($sphinx->packI64($bigint)), $bigint);
 }
 /**
  * {@inheritdoc}
  */
 public function packI64($v)
 {
     return $this->proxy->packI64($v);
 }