summaryrefslogtreecommitdiff
path: root/tests/session/max_id_length_ok.phpt
diff options
context:
space:
mode:
authorBen Fuhrmannek2016-03-07 23:29:21 +0100
committerBen Fuhrmannek2016-03-07 23:29:21 +0100
commita17a53b490bd5127a7ec67063a31b186e6956805 (patch)
treef64e5e866940e47b6c054f4bbf9fa342377a7517 /tests/session/max_id_length_ok.phpt
parentf2788a5543f72cdbe5fafd95ea7b37fab06745e3 (diff)
session support
Diffstat (limited to 'tests/session/max_id_length_ok.phpt')
-rw-r--r--tests/session/max_id_length_ok.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/session/max_id_length_ok.phpt b/tests/session/max_id_length_ok.phpt
new file mode 100644
index 0000000..dbecebd
--- /dev/null
+++ b/tests/session/max_id_length_ok.phpt
@@ -0,0 +1,16 @@
1--TEST--
2session id not too long
3--SKIPIF--
4<?php include "../skipifcli.inc"; ?>
5--INI--
6suhosin.session.max_id_length=32
7session.hash_bits_per_character=4
8session.use_strict_mode=0
9--FILE--
10<?php
11session_id('12345678901234567890123456789012');
12session_start();
13echo session_id();
14?>
15--EXPECTF--
1612345678901234567890123456789012