1--TEST--
2Test session_cache_expire() function : variation
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--FILE--
8<?php
9
10ob_start();
11
12echo "*** Testing session_cache_expire() : variation ***\n";
13
14ini_set("session.cache_expire", 360);
15var_dump(session_cache_expire());
16var_dump(session_cache_expire(1234567890));
17var_dump(session_cache_expire(180));
18var_dump(session_start());
19var_dump(session_cache_expire());
20var_dump(session_destroy());
21var_dump(session_cache_expire());
22
23echo "Done";
24ob_end_flush();
25?>
26--EXPECT--
27*** Testing session_cache_expire() : variation ***
28int(360)
29int(360)
30int(1234567890)
31bool(true)
32int(180)
33bool(true)
34int(180)
35Done
36