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