xref: /PHP-7.0/ext/session/tests/bug67972.phpt (revision 87a671bb)
1--TEST--
2Bug #67972: SessionHandler Invalid memory read create_sid()
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--FILE--
6<?php
7
8(new SessionHandler)->create_sid();
9--EXPECTF--
10Fatal error: SessionHandler::create_sid(): Cannot call default session handler in %s on line %d
11