Function __global->uniqid

Definitions

sources_custom/phpstub.php

  • Generate a unique ID.NOT CRYPTOGRAPHICALLY SECURE: USE get_secure_random_string() instead.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$prefix string required parameter N/A N/A Prefix for unique ID
$lcg boolean required parameter N/A N/A Whether to add additional "combined LCG" entropy at the end of the return value. Always pass as true, because on some IIS systems the timer resolution will be in seconds.

Return

  • Unique ID
  • Type: string
  • Set: N/A
  • Range: N/A