diff options
| author | Ben Fuhrmannek | 2016-02-22 22:03:28 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2016-02-22 22:03:28 +0100 |
| commit | 35b7c9a0e3f8a0daf1718a8ba9889a2aec24dc84 (patch) | |
| tree | 7c074d9d6cda30dd00516c3347680e48c6975a57 /tests/funcs/crypt_ext_des.phpt | |
| parent | f365d212edbaab4058875fe39623a97befbf98b0 (diff) | |
tests for crypto functions
Diffstat (limited to 'tests/funcs/crypt_ext_des.phpt')
| -rw-r--r-- | tests/funcs/crypt_ext_des.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/funcs/crypt_ext_des.phpt b/tests/funcs/crypt_ext_des.phpt new file mode 100644 index 0000000..4e2ba73 --- /dev/null +++ b/tests/funcs/crypt_ext_des.phpt | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | --TEST-- | ||
| 2 | CRYPT_EXT_DES support | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (CRYPT_EXT_DES == 0) print 'skip'; ?> | ||
| 5 | --FILE-- | ||
| 6 | <?php | ||
| 7 | echo crypt('rasmuslerdorf', '_J9..rasm') . "\n" | ||
| 8 | ?> | ||
| 9 | --EXPECT-- | ||
| 10 | _J9..rasmBYk8r9AiWNc | ||
| 11 | |||
| 12 | |||
