xref: /PHP-8.4/ext/session/tests/bug80774.phpt (revision 74859783)
1--TEST--
2Bug #80774 (session_name() problem with backslash)
3--EXTENSIONS--
4session
5--FILE--
6<?php
7session_name("foo\\bar");
8session_id('12345');
9session_start();
10?>
11--EXPECTHEADERS--
12Set-Cookie: foo\bar=12345; path=/
13--EXPECT--
14