1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/ext/session/tests/015.phpt
Nikita Popov 8f17d48b69 Allow running session tests in parallel
Use unique session IDs and/or save paths. Also removes the annoying
order-dependence of session tests.
2020-10-23 16:55:11 +02:00

28 lines
532 B
PHP

--TEST--
use_trans_sid should not affect SID
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
session.use_trans_sid=1
session.use_cookies=0
session.use_only_cookies=0
session.use_strict_mode=0
session.cache_limiter=
arg_separator.output=&
session.name=PHPSESSID
session.serialize_handler=php
session.save_handler=files
--FILE--
<?php
error_reporting(E_ALL);
session_id("test015");
session_start();
?>
<a href="/link?<?php echo SID; ?>">
<?php
session_destroy();
?>
--EXPECT--
<a href="/link?PHPSESSID=test015&PHPSESSID=test015">