summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug60860.phpt
blob: 223fb35905da3662d39571e2a818b634b8f94210 (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