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