diff options
Diffstat (limited to 'ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt')
-rw-r--r-- | ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt b/ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt index 88b6edef3d..19aab794b1 100644 --- a/ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt +++ b/ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt @@ -1,17 +1,17 @@ --TEST-- Test mcrypt_encrypt() function : usage variation - different types for cipher --SKIPIF-- -<?php +<?php if (!extension_loaded("mcrypt")) { - print "skip - mcrypt extension not loaded"; -} + print "skip - mcrypt extension not loaded"; +} ?> --FILE-- <?php /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv) - * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv + * Description: OFB crypt/decrypt data using key key with cipher cipher starting with iv * Source code: ext/mcrypt/mcrypt.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing mcrypt_encrypt() : usage variation ***\n"; @@ -104,9 +104,9 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - + // resource variable - 'resource' => $fp + 'resource' => $fp ); // loop through each element of the array for cipher |