What is the correct syntax for using the md5() function in PHP?
The md5() function in PHP is used to calculate the MD5 hash of a string. The correct syntax for using the md5() function is to pass the string that you want to hash as an argument inside the parentheses. This will return the MD5 hash of the input string.
$string = "Hello World";
$hash = md5($string);
echo $hash;