mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
small tweaks
This commit is contained in:
parent
1021eb3ab1
commit
37535744b2
@ -811,6 +811,18 @@ class Math_BigInteger
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* __debugInfo() magic method
|
||||
*
|
||||
* Will be called, automatically, when print_r() or var_dump() are called
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function __debugInfo()
|
||||
{
|
||||
return array('value' => '0x' . $this->toHex(true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds two BigIntegers.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user