1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/session/tests/bug74941.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

21 lines
340 B
PHP

--TEST--
Bug #74941 session_start() triggers a warning after headers have been sent but cookies are not used
--SKIPIF--
<?php
include('skipif.inc');
?>
--FILE--
<?php
ini_set('session.use_cookies', false);
ini_set('session.cache_limiter', false);
echo ".\n";
session_id('BUG74941');
var_dump(session_start());
?>
--EXPECT--
.
bool(true)