xref: /PHP-8.0/Zend/tests/unset_cv05.phpt (revision 2f92957f)
1--TEST--
2unset() CV 5 (indirect unset() of global variable in session_start())
3--INI--
4session.auto_start=0
5session.save_handler=files
6--SKIPIF--
7<?php
8
9include(__DIR__.'/../../ext/session/tests/skipif.inc');
10
11?>
12--FILE--
13<?php
14$_SESSION = "ok\n";
15session_start();
16echo $_SESSION;
17echo "\nok\n";
18?>
19--EXPECTF--
20Warning: Array to string conversion in %s on line %d
21Array
22ok
23