xref: /PHP-7.3/ext/hash/tests/mhash_004.phpt (revision 45420bb6)
1--TEST--
2mhash() modifying algorithm parameter
3--SKIPIF--
4<?php
5	include "skip_mhash.inc";
6?>
7--FILE--
8<?php
9
10$algo = MHASH_MD5;
11var_dump($algo);
12var_dump(bin2hex(mhash($algo, "test")));
13var_dump($algo);
14
15?>
16--EXPECT--
17int(1)
18string(32) "098f6bcd4621d373cade4e832627b4f6"
19int(1)
20