xref: /PHP-7.1/ext/session/tests/bug60860.phpt (revision 6065b29f)
1--TEST--
2Bug #60860 (session.save_handler=user without defined function core dumps)
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--INI--
6session.save_handler=user
7--FILE--
8<?php
9
10session_start();
11echo "ok\n";
12
13?>
14--EXPECTF--
15Warning: session_start(): user session functions not defined in %s on line 3
16
17Fatal error: session_start(): Failed to initialize storage module: user (path:%s) in %s on line 3
18