skipv1_0_0id

Skip_id().

Description

skip\v1_0_0\id( (int) $length = 5 ); 

Getting an unique ID.

Parameters (1)

0. $length — Optional. (int) => 5
The length.

Usage

  1. if ( !function_exists( 'skip\v1_0_0\id' ) ) { 
  2. require_once '/includes/skip/core/functions/collected.php'; 
  3.  
  4. // The length. 
  5. $length = 5; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = skip\v1_0_0\id($length); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/skip/core/functions/collected.php  
  1. function id( $length = 5 ) { 
  2. return substr( md5( rand() * time() ), 0, $length );