1--TEST--
2Test session_cache_expire() function : basic functionality
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--FILE--
6<?php
7
8ob_start();
9
10/*
11 * Prototype : int session_cache_expire([int $new_cache_expire])
12 * Description : Return current cache expire
13 * Source code : ext/session/session.c
14 */
15
16echo "*** Testing session_cache_expire() : basic functionality ***\n";
17
18var_dump(session_cache_expire());
19var_dump(session_cache_expire(1234567890));
20var_dump(session_cache_expire(180));
21var_dump(session_start());
22var_dump(session_cache_expire());
23var_dump(session_destroy());
24var_dump(session_cache_expire());
25
26echo "Done";
27ob_end_flush();
28?>
29--EXPECTF--
30*** Testing session_cache_expire() : basic functionality ***
31int(180)
32int(180)
33int(1234567890)
34bool(true)
35int(180)
36bool(true)
37int(180)
38Done
39
40