mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
There should not be any warning with regard to redefining SID
This commit is contained in:
parent
dba3e4c7ad
commit
bb4f911035
25
ext/session/tests/013.phpt
Normal file
25
ext/session/tests/013.phpt
Normal file
@ -0,0 +1,25 @@
|
||||
--TEST--
|
||||
There should not be any warning with regard to redefining SID
|
||||
--SKIPIF--
|
||||
<?php include('skipif.inc'); ?>
|
||||
--INI--
|
||||
session.use_cookies=0
|
||||
session.cache_limiter=
|
||||
register_globals=1
|
||||
session.bug_compat_42=1
|
||||
session.bug_compat_warn=0
|
||||
--FILE--
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
|
||||
session_id("abtest");
|
||||
session_start();
|
||||
session_destroy();
|
||||
session_id("abtest2");
|
||||
session_start();
|
||||
session_destroy();
|
||||
|
||||
print "I live\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
I live
|
Loading…
Reference in New Issue
Block a user