xref: /PHP-8.0/ext/session/tests/bug74941.phpt (revision a555cc0b)
1--TEST--
2Bug #74941 session_start() triggers a warning after headers have been sent but cookies are not used
3--SKIPIF--
4<?php
5include('skipif.inc');
6?>
7--FILE--
8<?php
9
10ini_set('session.use_cookies', false);
11ini_set('session.cache_limiter', false);
12
13echo ".\n";
14
15session_id('BUG74941');
16var_dump(session_start());
17?>
18--EXPECT--
19.
20bool(true)
21