Generation functions: handles, uuid, etc
$guid = gen_guid();
$handle = gen_handle();
Returns a GUID using either the preferred extension or a pure PHP implementation
Returns an alphanumeric case senstive handle for use as an ID
Typically this would be used to generate pseudo-random identifiers with code like this
do {
$handle = gen_handle();
} while(handleExists($handle));
Language | php |
Version | 0.0.0 |
Git URL | https://github.com/nullivex/func-gen |
License | |
Description | Generation functions: handles, uuid, etc |
Keywords |