xref: /PHP-7.4/ext/session/tests/bug60860.phpt (revision 4e819576)
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
10error_log=
11--FILE--
12<?php
13
14session_start();
15echo "ok\n";
16
17?>
18--EXPECT--
19PHP Recoverable fatal error:  PHP Startup: Cannot set 'user' save handler by ini_set() or session_module_name() in Unknown on line 0
20ok
21