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

session_start();
echo "ok\n";

?>
--EXPECTF--
Warning: session_start(): user session functions not defined in %s on line 3

Fatal error: session_start(): Failed to initialize storage module: user (path:%s) in %s on line 3