Skip to content

Commit bb4f911

Browse files
author
Sascha Schumann
committed
There should not be any warning with regard to redefining SID
1 parent dba3e4c commit bb4f911

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

ext/session/tests/013.phpt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
--TEST--
2+
There should not be any warning with regard to redefining SID
3+
--SKIPIF--
4+
<?php include('skipif.inc'); ?>
5+
--INI--
6+
session.use_cookies=0
7+
session.cache_limiter=
8+
register_globals=1
9+
session.bug_compat_42=1
10+
session.bug_compat_warn=0
11+
--FILE--
12+
<?php
13+
error_reporting(E_ALL);
14+
15+
session_id("abtest");
16+
session_start();
17+
session_destroy();
18+
session_id("abtest2");
19+
session_start();
20+
session_destroy();
21+
22+
print "I live\n";
23+
?>
24+
--EXPECT--
25+
I live

0 commit comments

Comments
 (0)