summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansen <martin@divbyzero.net>2014-05-06 21:34:10 +0200
committerMartin Jansen <martin@divbyzero.net>2014-05-06 21:34:10 +0200
commitc0f4e270a8e7c78b780fc3872f05758d16e522ef (patch)
tree153fba6bd32646016eece869650e248abfd784e0
parent4609f202f09a1a610595b197b0b5ce440c149d0b (diff)
downloadphp-git-c0f4e270a8e7c78b780fc3872f05758d16e522ef.tar.gz
This test requires the hash extension.
-rw-r--r--ext/session/tests/031.phpt8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/session/tests/031.phpt b/ext/session/tests/031.phpt
index e8deb3dac5..ba50247891 100644
--- a/ext/session/tests/031.phpt
+++ b/ext/session/tests/031.phpt
@@ -1,7 +1,13 @@
--TEST--
setting hash_function to sha512 and hash_bits_per_character > 4 should not crash
--SKIPIF--
-<?php include('skipif.inc'); ?>
+<?php
+include('skipif.inc');
+
+if (!function_exists("hash")) {
+ echo "skip hash extension not loaded";
+}
+?>
--INI--
session.use_cookies=0
session.cache_limiter=