xref: /PHP-8.1/ext/session/tests/020.phpt (revision b5a14e6c)
1--TEST--
2rewriter uses arg_separator.output for modifying URLs
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--INI--
8session.use_cookies=0
9session.use_only_cookies=0
10session.use_strict_mode=0
11session.cache_limiter=
12session.use_trans_sid=1
13arg_separator.output="&amp;"
14session.name=PHPSESSID
15session.serialize_handler=php
16session.save_handler=files
17--FILE--
18<?php
19
20error_reporting(E_ALL);
21
22session_id("test020");
23session_start();
24?>
25<a href="link.php?a=b">
26<?php
27session_destroy();
28?>
29--EXPECT--
30<a href="link.php?a=b&amp;PHPSESSID=test020">
31