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