xref: /PHP-8.0/ext/session/tests/031.phpt (revision 033cafac)
1--TEST--
2setting hash_function to sha512 and hash_bits_per_character > 4 should not crash
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6session.use_cookies=0
7session.cache_limiter=
8session.serialize_handler=php
9session.save_handler=files
10session.hash_function=sha512
11session.hash_bits_per_character=5
12--FILE--
13<?php
14error_reporting(E_ALL);
15
16session_start();
17session_regenerate_id(TRUE);
18
19print "I live\n";
20?>
21--EXPECT--
22I live
23