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