1--TEST--
2Test session_module_name() function : variation
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--FILE--
8<?php
9
10ob_start();
11
12echo "*** Testing session_module_name() : variation ***\n";
13var_dump(session_module_name("blah"));
14var_dump(session_start());
15var_dump(session_module_name());
16var_dump(session_destroy());
17var_dump(session_module_name());
18
19echo "Done";
20ob_end_flush();
21?>
22--EXPECTF--
23*** Testing session_module_name() : variation ***
24
25Warning: session_module_name(): Session handler module "blah" cannot be found in %s on line %d
26bool(false)
27bool(true)
28string(%d) "%s"
29bool(true)
30string(%d) "%s"
31Done
32