summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug60860.phpt
blob: 57156753fb34e059b6f52ca90b9377bdf144e4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #60860 (session.save_handler=user without defined function core dumps)
--SKIPIF--
<?php
include('skipif.inc');
?>
--INI--
session.save_handler=user
display_errors=off
--FILE--
<?php

session_start();
echo "ok\n";

?>
--EXPECT--
PHP Recoverable fatal error:  PHP Startup: Cannot set 'user' save handler by ini_set() or session_module_name() in Unknown on line 0
ok