Annotation of embedaddon/php/ext/standard/tests/strings/md5_basic1.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test md5() function : basic functionality
3: --FILE--
4: <?php
5: /* Prototype : string md5 ( string $str [, bool $raw_output= false ] )
6: * Description: Calculate the md5 hash of a string
7: * Source code: ext/standard/md5.c
8: */
9:
10: echo "*** Testing md5() : basic functionality ***\n";
11: var_dump(md5(b"apple"));
12: ?>
13: ===DONE===
14: --EXPECTF--
15: *** Testing md5() : basic functionality ***
16: string(32) "1f3870be274f6c49b3e31a0c6728957f"
17: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>