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