1--TEST--
2Test session_set_save_handler() : register session handler but don't start
3--INI--
4session.save_handler=files
5session.name=PHPSESSID
6--SKIPIF--
7<?php include('skipif.inc'); ?>
8--FILE--
9<?php
10
11ob_start();
12
13/*
14 * Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_function = true])
15 * Description : Sets user-level session storage functions
16 * Source code : ext/session/session.c
17 */
18
19echo "*** Testing session_set_save_handler() : register session handler but don't start  ***\n";
20
21session_set_save_handler(new SessionHandler);
22--EXPECTF--
23*** Testing session_set_save_handler() : register session handler but don't start  ***
24