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