xref: /PHP-7.3/ext/session/tests/bug73273.phpt (revision c91f652d)
1--TEST--
2Bug #73273: session_unset() empties values from all variables in which is $_session stored
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--FILE--
6<?php
7session_start();
8$_SESSION['test'] = true;
9$var = $_SESSION;
10session_unset();
11var_dump($var);
12?>
13--EXPECT--
14array(1) {
15  ["test"]=>
16  bool(true)
17}
18