xref: /PHP-8.2/ext/session/tests/bug74936.phpt (revision b5a14e6c)
1--TEST--
2Bug #74936 session_cache_expire() triggers a warning in read mode.
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php
7include('skipif.inc');
8?>
9--FILE--
10<?php
11
12session_start();
13var_dump(session_cache_expire());
14var_dump(session_cache_limiter());
15var_dump(session_save_path());
16?>
17--EXPECT--
18int(180)
19string(7) "nocache"
20string(0) ""
21