summaryrefslogtreecommitdiff
path: root/tests/funcs/crypt_md5.phpt
diff options
context:
space:
mode:
authorStefan Esser2010-02-21 11:44:54 +0100
committerStefan Esser2010-02-21 11:44:54 +0100
commit36dbfacbe64697d959f524e537b15b73c090d898 (patch)
treef1c7ce1409b0e7765fc72d550546967fcf0f9717 /tests/funcs/crypt_md5.phpt
Inital commit
Diffstat (limited to 'tests/funcs/crypt_md5.phpt')
-rw-r--r--tests/funcs/crypt_md5.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/funcs/crypt_md5.phpt b/tests/funcs/crypt_md5.phpt
new file mode 100644
index 0000000..fd39d20
--- /dev/null
+++ b/tests/funcs/crypt_md5.phpt
@@ -0,0 +1,11 @@
1--TEST--
2CRYPT_MD5 support
3--SKIPIF--
4<?php if (CRYPT_MD5 == 0) print 'skip'; ?>
5--FILE--
6<?php
7 echo crypt('rasmuslerdorf', '$1$rasmusle$') . "\n"
8?>
9--EXPECT--
10$1$rasmusle$rISCgZzpwk3UhDidwXvin0
11