unpackI64() public method

Unpack 64-bit signed
public unpackI64 ( string $v ) : integer | string
$v string
return integer | 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 unpackI64($v)
 {
     return $this->proxy->unpackI64($v);
 }