OAuthProvider::generateToken(PECL OAuth >= 1.0.0) OAuthProvider::generateToken — Generate a random token Описание
   final public static string OAuthProvider::generateToken
    ( int $size
   [, bool $strong = false
  ] ) 
  Generates a string of pseudo-random bytes. Список параметров
 Возвращаемые значенияThe generated token, as a string of bytes. ОшибкиIf the strong parameter is TRUE, then an E_WARNING level error will be emitted when the fallback rand() implementation is used to fill the remaining random bytes (e.g., when not enough random data was found, initially). ПримерыПример #1 OAuthProvider::generateToken() example 
<?phpРезультатом выполнения данного примера будет что-то подобное: 4 b6a82c27 Примечания
 Смотрите также
  | 
||