felipe Sun Oct 26 23:34:14 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/hash/tests skip_mhash.inc
Log:
- Fixed condition
http://cvs.php.net/viewvc.cgi/php-src/ext/hash/tests/skip_mhash.inc?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/hash/tests/skip_mhash.inc
diff -u php-src/ext/hash/tests/skip_mhash.inc:1.1.2.1
php-src/ext/hash/tests/skip_mhash.inc:1.1.2.2
--- php-src/ext/hash/tests/skip_mhash.inc:1.1.2.1 Thu Jun 26 22:33:16 2008
+++ php-src/ext/hash/tests/skip_mhash.inc Sun Oct 26 23:34:13 2008
@@ -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
+?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php