mirror of
https://github.com/php/php-src.git
synced 2024-12-24 01:09:58 +08:00
23 lines
398 B
PHP
23 lines
398 B
PHP
--TEST--
|
|
unset() CV 5 (indirect unset() of global variable in session_start())
|
|
--INI--
|
|
session.auto_start=0
|
|
session.save_handler=files
|
|
--SKIPIF--
|
|
<?php
|
|
|
|
include(dirname(__FILE__).'/../../ext/session/tests/skipif.inc');
|
|
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$_SESSION = "ok\n";
|
|
session_start();
|
|
echo $_SESSION;
|
|
echo "\nok\n";
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Array to string conversion in %sunset_cv05.php on line %d
|
|
Array
|
|
ok
|