]> granicus.if.org Git - php/commitdiff
Fixed test (it requires ext/hash)
authorDmitry Stogov <dmitry@zend.com>
Thu, 10 Apr 2014 08:14:11 +0000 (12:14 +0400)
committerDmitry Stogov <dmitry@zend.com>
Thu, 10 Apr 2014 08:14:11 +0000 (12:14 +0400)
ext/session/tests/031.phpt

index e8deb3dac5d0e5af139c763c3105898fa373a55f..7486c4b866ee5a7bf657676548a9b4f76553e933 100644 (file)
@@ -2,6 +2,7 @@
 setting hash_function to sha512 and hash_bits_per_character > 4 should not crash
 --SKIPIF--
 <?php include('skipif.inc'); ?>
+<?php if (!extension_loaded('hash')) die('skip hash extension not available'); ?>
 --INI--
 session.use_cookies=0
 session.cache_limiter=