xref: /PHP-8.1/ext/session/tests/018.phpt (revision b5a14e6c)
1--TEST--
2rewriter correctly handles attribute names which contain dashes
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
13session.name=PHPSESSID
14session.serialize_handler=php
15session.save_handler=files
16--FILE--
17<?php
18
19error_reporting(E_ALL);
20
21session_id("test018");
22session_start();
23?>
24<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php>
25<?php
26session_destroy();
27?>
28--EXPECT--
29<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="test018" />
30