1. string md5 ( string str[,bool raw_output = false ] )
Use RSA Data Security's MD5 message algorithm to calculate the MD5 hash value of str.
- raw_output: If the optional raw_output is set to TRUE, the MD5 message digest will be returned in raw binary format with a length of 16 bytes. " "
[ ,boolmore_entropy = false ]] )Get a prefixed unique ID based on the current time in microseconds prefix: Useful parameters. For example: if on multiple hosts a unique ID may be generated in the same microsecond.
If prefix is empty, the length of the returned string is 13. more_entropy is TRUE, the length of the returned string is 23. In Cygwin environment, in order for this function to work, more_entropy must be set to TRUE. <code>Cygwin是一个在windows平台上运行的类UNIX模拟环境
</code>
Copy after login
3. mixed microtime ([ bool $get_as_float ] )microtime() Current Unix timestamp and microseconds. This function is only available under operating systems that support the gettimeofday() system call. If called without optional parameters, this function returns a string in the format of "msec sec", where sec is the number of seconds since the Unix epoch (0:00:00 January 1, 1970 GMT) Number, msec is the microsecond part. Both parts of the string are returned in seconds. If the get_as_float parameter is given and its value is equivalent to TRUE, microtime() will return a floating point number. php5
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i
').text(i));
};
$numbering.fadeIn(1700);
});
});
-
The above introduces PHP learning, 2016-5-11, including the content of PHP learning, 2016. I hope it will be helpful to friends who are interested in PHP tutorials.
-