1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 13:12:16 +02:00
Files
archived-php-src/ext/session/tests/bug67972.phpt
2021-06-11 16:27:50 +02:00

19 lines
307 B
PHP

--TEST--
Bug #67972: SessionHandler Invalid memory read create_sid()
--EXTENSIONS--
session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
try {
(new SessionHandler)->create_sid();
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
?>
--EXPECT--
Session is not active