xref: /PHP-7.2/ext/session/tests/bug60860.phpt (revision f1d7e3ca)
1--TEST--
2Bug #60860 (session.save_handler=user without defined function core dumps)
3--SKIPIF--
4<?php
5include('skipif.inc');
6?>
7--INI--
8session.save_handler=user
9display_errors=off
10--FILE--
11<?php
12
13session_start();
14echo "ok\n";
15
16?>
17--EXPECTF--
18PHP Recoverable fatal error:  PHP Startup: Cannot set 'user' save handler by ini_set() or session_module_name() in Unknown on line 0
19ok
20