/** * Returns a unique identifier for the internal process tracking * * @access public * @return string */ public static function GetProcessIdentifier() { if (!isset(self::$processident)) { self::$processident = sprintf('%04x%04', mt_rand(0, 0xffff), mt_rand(0, 0xffff)); } return self::$processident; }