xref: /PHP-8.1/ext/session/tests/bug67972.phpt (revision b5a14e6c)
1--TEST--
2Bug #67972: SessionHandler Invalid memory read create_sid()
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--FILE--
8<?php
9
10try {
11    (new SessionHandler)->create_sid();
12} catch (Error $exception) {
13    echo $exception->getMessage() . "\n";
14}
15
16?>
17--EXPECT--
18Session is not active
19