显示下拉菜单

Test of mhash() 本页面仅提供英文版本。

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> 'MHASH_MD5',
  
=> 'apple',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '8p\'OlI g(',
    
'hex' => '1f3870be274f6c49b3e31a0c6728957f',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'MHASH_MD5',
  
=> 'apple',
  
=> 'my special key',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => ';C[ɒcm!d\\N',
    
'hex' => 'df3b435b06ac88c992636d21645cdf4e',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]