xref: /PHP-8.1/ext/session/tests/013.phpt (revision b5a14e6c)
1--TEST--
2redefining SID should not cause warnings
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--INI--
8session.use_cookies=0
9session.use_strict_mode=0
10session.cache_limiter=
11session.serialize_handler=php
12session.save_handler=files
13--FILE--
14<?php
15error_reporting(E_ALL);
16
17session_id("test013");
18session_start();
19session_destroy();
20session_id("test013-2");
21session_start();
22session_destroy();
23
24print "I live\n";
25?>
26--EXPECT--
27I live
28