title | package | packageTitle | layout | className | type |
---|---|---|---|---|---|
Base32::encode — Core Library |
lib |
Core Library |
default |
Base32 |
method |
Encode an integer as base-32
uses('base32');
public static function string Base32::encode(int [in] $input)
Encodes an integer as a base-32 value, that is, a value where each digit has 32 possible values (0-9, a-x). The letters 'i', 'l', 'o', 'y' and 'z' are not included in the alphabet.
Name | Direction | Type | Description |
---|---|---|---|
$input
| in | int | The number to encode |
A string containing the value of $input
encoded as base-32