1. String MD5 (string str[,bool Raw_output = false])
Use? RSA Data security Company's MD5 message algorithm calculates the MD5 hash value of str.
- Raw_output: If the optional raw_output is set to TRUE, then the MD5 Digest will be returned in the original binary format with a length of 16 bytes. PHP 5
2. String Uniqid ([string prefix= ""[,bol more_ Entropy = false]])
Gets a unique ID with a prefix, based on the number of microseconds in the current time
- Prefix: Useful parameters. For example, if a unique ID can be generated on multiple hosts in the same microsecond.
Prefix is empty, the string length returned is 13.
- More_entropy is TRUE, the string length returned is 23.
In a Cygwin environment, more_entropy must be set to TRUE in order for this function to work.
Cygwin是一个在windows平台上运行的类UNIX模拟环境
3. Mixed Microtime ([bool $get _as_float])
Microtime () The current Unix timestamp and the number of microseconds. This function is available only under operating systems that support Gettimeofday () system calls.
- If called without optional arguments, this function returns a string in the format "msec sec", where the SEC is the number of seconds since the Unix era (0:00:00 January 1, 1970 GMT) and msec is the microsecond portion. The two parts of a string are returned in seconds.
- If the Get_as_float parameter is given and its value is equivalent to True,microtime (), a floating-point number is returned. php5
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above on the introduction of PHP learning, 2016-5-11, including PHP learning, 2016 aspects of the content, I hope that the PHP tutorial interested in a friend helpful.