xref: /PHP-8.4/ext/session/tests/018.phpt (revision c5bce0d8)
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--
29Deprecated: PHP Startup: Disabling session.use_only_cookies INI setting is deprecated in Unknown on line 0
30
31Deprecated: PHP Startup: Enabling session.use_trans_sid INI setting is deprecated in Unknown on line 0
32<form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="test018" />
33