summaryrefslogtreecommitdiff
path: root/tests/session/max_id_length_ok.phpt
blob: 1402ccea236ea4281e3267ea0e9d272e9f4c02d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
session id not too long
--SKIPIF--
<?php include "../skipifcli.inc"; ?>
--INI--
suhosin.session.max_id_length=32
session.hash_bits_per_character=4
--FILE--
<?php
session_id('12345678901234567890123456789012');
session_start();
echo session_id();
?>
--EXPECTF--
12345678901234567890123456789012