mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
28 lines
510 B
PHP
28 lines
510 B
PHP
--TEST--
|
|
rewriter uses arg_separator.output for modifying URLs
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--INI--
|
|
session.use_cookies=0
|
|
session.use_only_cookies=0
|
|
session.cache_limiter=
|
|
session.use_trans_sid=1
|
|
arg_separator.output="&"
|
|
session.name=PHPSESSID
|
|
session.serialize_handler=php
|
|
session.save_handler=files
|
|
--FILE--
|
|
<?php
|
|
|
|
error_reporting(E_ALL);
|
|
|
|
session_id("abtest");
|
|
session_start();
|
|
?>
|
|
<a href="link.php?a=b">
|
|
<?php
|
|
session_destroy();
|
|
?>
|
|
--EXPECT--
|
|
<a href="link.php?a=b&PHPSESSID=abtest">
|