summaryrefslogtreecommitdiff
path: root/ext/hash
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-10-26 23:34:13 +0000
committerFelipe Pena <felipe@php.net>2008-10-26 23:34:13 +0000
commitc0611c10eff2e8d778f0a93201c633f0a27a426a (patch)
treec30b45196bc668539d5a4779d601c7f01692609b /ext/hash
parent8502d0b7a64a4a864f460dfe0cd623484fec99b2 (diff)
downloadphp-git-c0611c10eff2e8d778f0a93201c633f0a27a426a.tar.gz
- Fixed condition
Diffstat (limited to 'ext/hash')
-rw-r--r--ext/hash/tests/skip_mhash.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hash/tests/skip_mhash.inc b/ext/hash/tests/skip_mhash.inc
index ff60bfff27..17e5fe7f9e 100644
--- a/ext/hash/tests/skip_mhash.inc
+++ b/ext/hash/tests/skip_mhash.inc
@@ -1,5 +1,5 @@
<?php
-if (!extension_loaded("mhash")) {
+if (!extension_loaded("mhash") || !function_exists("mhash")) {
die("skip mhash extension is not available");
}
-?> \ No newline at end of file
+?>