1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/session/tests/bug74941.phpt
2021-06-11 16:27:50 +02:00

23 lines
363 B
PHP

--TEST--
Bug #74941 session_start() triggers a warning after headers have been sent but cookies are not used
--EXTENSIONS--
session
--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)