xref: /PHP-8.2/ext/session/tests/gh13891.phpt (revision 5ce9687c)
1--TEST--
2GH-13891 (memleak and segfault when using ini_set with session.trans_sid_hosts)
3--INI--
4session.use_cookies=0
5session.use_only_cookies=0
6session.use_trans_sid=1
7session.trans_sid_hosts=php.net
8--EXTENSIONS--
9session
10--SKIPIF--
11<?php include('skipif.inc'); ?>
12--FILE--
13<?php
14// We *must* set it here because the bug only triggers on a runtime edit
15ini_set('session.trans_sid_hosts','php.net');
16?>
17--EXPECT--
18