com php-src: This test requires the hash extension.: ext/session/tests/031.phpt

From: Date: Tue, 06 May 2014 19:34:10 +0000
Subject: com php-src: This test requires the hash extension.: ext/session/tests/031.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78151@lists.php.net to get a copy of this message
Commit: c0f4e270a8e7c78b780fc3872f05758d16e522ef Author: Martin Jansen <martin@divbyzero.net> Tue, 6 May 2014 21:34:10 +0200 Parents: 4609f202f09a1a610595b197b0b5ce440c149d0b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c0f4e270a8e7c78b780fc3872f05758d16e522ef Log: This test requires the hash extension. Changed paths: M ext/session/tests/031.phpt Diff: diff --git a/ext/session/tests/031.phpt b/ext/session/tests/031.phpt index e8deb3d..ba50247 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=

« previous php.cvs (#78151) next »