xref: /PHP-8.1/ext/session/tests/bug70876.phpt (revision b5a14e6c)
1--TEST--
2Bug #70876 Segmentation fault when regenerating session id with strict mode
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--INI--
8html_errors=0
9session.save_handler=files
10--FILE--
11<?php
12ini_set('session.use_strict_mode', true);
13session_start();
14session_regenerate_id();
15
16echo "ok";
17?>
18--EXPECT--
19ok
20