UK [ˌem'di:] US [ˌem'di:]

abbr.DOS command: Create a new subdirectory;Moldova Moldova

php md5() function syntax

Function:String md5 encoding

Syntax:md5(string,raw)

Parameters:

ParametersDescription
string Required. Specifies the string to be calculated.
raw Optional. Specifies hexadecimal or binary output format: TRUE - raw 16-character binary format, FALSE - default. 32-character hexadecimal number.

Description: Calculate the MD5 hash of the string

php md5() function example

<?php
echo MD5("php.cn");
?>

Run instance»

Click the "Run instance" button to view the online instance

Output:

5038249e28843166c820ea820746febc