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