]> granicus.if.org Git - php/commitdiff
This test requires the hash extension.
authorMartin Jansen <martin@divbyzero.net>
Tue, 6 May 2014 19:34:10 +0000 (21:34 +0200)
committerMartin Jansen <martin@divbyzero.net>
Tue, 6 May 2014 19:34:10 +0000 (21:34 +0200)
ext/session/tests/031.phpt

index e8deb3dac5d0e5af139c763c3105898fa373a55f..ba50247891176a8fda229589ad9958926a321f89 100644 (file)
@@ -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=