xref: /PHP-5.4/ext/session/tests/020.phpt (revision 8d86597d)
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.cache_limiter=
9session.use_trans_sid=1
10arg_separator.output="&amp;"
11session.name=PHPSESSID
12session.serialize_handler=php
13session.save_handler=files
14--FILE--
15<?php
16
17error_reporting(E_ALL);
18
19session_id("abtest");
20session_start();
21?>
22<a href="link.php?a=b">
23<?php
24session_destroy();
25?>
26--EXPECT--
27<a href="link.php?a=b&amp;PHPSESSID=abtest">
28