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