mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
26 lines
426 B
PHP
26 lines
426 B
PHP
--TEST--
|
|
redefining SID should not cause warnings
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--INI--
|
|
session.use_cookies=0
|
|
session.use_strict_mode=0
|
|
session.cache_limiter=
|
|
session.serialize_handler=php
|
|
session.save_handler=files
|
|
--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
|