1--TEST--
2Test session_save_path() function : basic functionality
3--INI--
4session.gc_probability=0
5session.save_path=
6session.name=PHPSESSID
7--EXTENSIONS--
8session
9--SKIPIF--
10<?php include('skipif.inc'); ?>
11--FILE--
12<?php
13
14ob_start();
15
16echo "*** Testing session_save_path() : error functionality ***\n";
17
18$directory = __DIR__;
19var_dump(session_save_path());
20var_dump(session_save_path($directory));
21var_dump(session_save_path());
22
23echo "Done";
24ob_end_flush();
25?>
26--EXPECTF--
27*** Testing session_save_path() : error functionality ***
28string(0) ""
29string(0) ""
30string(%d) "%s"
31Done
32