Function __global->md5

Definitions

sources_custom/phpstub.php

  • Calculate the md5 hash of a string.Not recommended for any type of security.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$str string No No required parameter N/A N/A String to hash

Returns

  • Hashed result
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Calculate the md5 hash of a string.Not recommended for any type of security.
 *
 * @param  string $str String to hash
 * @return string Hashed result
 */

function md5(string $str) : string