mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
c91f652ddb
As well as a few other $_SESSION separation issues.
18 lines
305 B
PHP
18 lines
305 B
PHP
--TEST--
|
|
Bug #73273: session_unset() empties values from all variables in which is $_session stored
|
|
--SKIPIF--
|
|
<?php include('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
session_start();
|
|
$_SESSION['test'] = true;
|
|
$var = $_SESSION;
|
|
session_unset();
|
|
var_dump($var);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
["test"]=>
|
|
bool(true)
|
|
}
|