summaryrefslogtreecommitdiff
path: root/ext/hash/tests/hash_hmac_file_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hash/tests/hash_hmac_file_error.phpt')
-rw-r--r--ext/hash/tests/hash_hmac_file_error.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/tests/hash_hmac_file_error.phpt b/ext/hash/tests/hash_hmac_file_error.phpt
index 26ba8aacbe..f7c3c7b855 100644
--- a/ext/hash/tests/hash_hmac_file_error.phpt
+++ b/ext/hash/tests/hash_hmac_file_error.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test hash_hmac_file() function : basic functionality
+Test hash_hmac_file() function : basic functionality
--SKIPIF--
<?php extension_loaded('hash') or die('skip: hash extension not loaded.'); ?>
--FILE--
@@ -8,7 +8,7 @@ Test hash_hmac_file() function : basic functionality
/* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output] )
* Description: Generate a keyed hash value using the HMAC method and the contents of a given file
* Source code: ext/hash/hash.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing hash() : error conditions ***\n";
@@ -22,7 +22,7 @@ var_dump(hash_hmac_file('crc32'));
var_dump(hash_hmac_file('crc32', $file));
echo "\n-- Testing hash_hmac_file() function with more than expected no. of arguments --\n";
-$extra_arg = 10;
+$extra_arg = 10;
hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg);
echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n";