Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
btwoc(
string $long
)
:
stringGet the big endian two's complement of a given big integer in binary notation
DetailsfromBinary(
string $binary
)
:
stringTranslate a binary form into a big integer string
Detailsrand(
string|int $minimum, string|int $maximum
)
:
stringGenerate a pseudorandom number within the given range.
Will attempt to read from a systems RNG if it exists or else utilises a simple random character to maximum length process. Simplicity is a factor better left for development...
DetailstoBinary(
string $integer
)
:
stringTranslate a big integer string into a binary form
Details