]> granicus.if.org Git - php/commitdiff
- Fixed condition
authorFelipe Pena <felipe@php.net>
Sun, 26 Oct 2008 23:34:13 +0000 (23:34 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 26 Oct 2008 23:34:13 +0000 (23:34 +0000)
ext/hash/tests/skip_mhash.inc

index ff60bfff275bcdd42f56007f0577cb057f3b1476..17e5fe7f9ef3957a18232efee854517c1086239e 100644 (file)
@@ -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
+?>