2017 © Pedro Peláez
 

library func-gen

Random generation functions

image

openlss/func-gen

Random generation functions

  • Sunday, April 7, 2013
  • by nullivex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 107 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

openlss/func-gen

Generation functions: handles, uuid, etc, (*1)

Usage

$guid = gen_guid();

$handle = gen_handle();

Reference

(string) gen_guid()

Returns a GUID using either the preferred extension or a pure PHP implementation, (*2)

(string) gen_handle($len=6)

Returns an alphanumeric case senstive handle for use as an ID * $len Length of the handle, (*3)

Typically this would be used to generate pseudo-random identifiers with code like this, (*4)

    do {
        $handle = gen_handle();
    } while(handleExists($handle));

The Versions

07/04 2013

dev-0.0.x-dev

dev-0.0.x-dev http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

07/04 2013

0.0.8

0.0.8.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

07/04 2013

dev-master

9999999-dev http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

03/04 2013

0.0.7

0.0.7.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

27/03 2013

0.0.5

0.0.5.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

27/03 2013

0.0.6

0.0.6.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

26/03 2013

0.0.4

0.0.4.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

uuid guid unique handle

23/03 2013

0.0.3

0.0.3.0 http://openlss.org

Random generation functions

  Sources   Download

LGPL-3.0+

The Requires

 

uuid guid unique handle

23/03 2013

0.0.2

0.0.2.0 http://openlss.org

Random generation functions

  Sources   Download

LGPLv2

The Requires

 

uuid guid unique handle

23/03 2013

0.0.1

0.0.1.0 http://openlss.org

Random generation functions

  Sources   Download

LGPLv2

The Requires

  • php >=5.3.2

 

uuid guid unique handle