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