xref: /PHP-7.4/ext/session/tests/bug71974.phpt (revision d679f022)
1--TEST--
2Bug #71974 Trans sid will always be send, even if cookies are available
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6session.save_handler=files
7session.auto_start=0
8session.use_cookies=1
9session.use_only_cookies=0
10session.use_trans_sid=1
11session.use_strict_mode=0
12--COOKIE--
13PHPSESSID=1234567890123456789012345678901234567890
14--FILE--
15<?php
16ob_start();
17session_start()
18?>
19<a href="some.php">abc</a>
20--EXPECT--
21<a href="some.php">abc</a>
22