2004-10-05 14:53:39 +08:00
|
|
|
--TEST--
|
|
|
|
unset() CV 5 (indirect unset() of global variable in session_start())
|
2005-04-21 22:22:53 +08:00
|
|
|
--INI--
|
2005-07-08 15:57:47 +08:00
|
|
|
session.auto_start=0
|
|
|
|
session.save_handler=files
|
2004-10-05 14:53:39 +08:00
|
|
|
--SKIPIF--
|
2018-09-17 01:16:42 +08:00
|
|
|
<?php
|
2005-06-22 08:41:28 +08:00
|
|
|
|
2018-09-17 01:16:42 +08:00
|
|
|
include(dirname(__FILE__).'/../../ext/session/tests/skipif.inc');
|
2005-06-22 08:41:28 +08:00
|
|
|
|
|
|
|
?>
|
2004-10-05 14:53:39 +08:00
|
|
|
--FILE--
|
|
|
|
<?php
|
2010-04-16 00:36:08 +08:00
|
|
|
$_SESSION = "ok\n";
|
2004-10-05 14:53:39 +08:00
|
|
|
session_start();
|
2010-04-16 00:36:08 +08:00
|
|
|
echo $_SESSION;
|
2004-10-05 14:53:39 +08:00
|
|
|
echo "\nok\n";
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
2011-10-21 14:08:47 +08:00
|
|
|
Notice: Array to string conversion in %sunset_cv05.php on line %d
|
2004-10-05 14:53:39 +08:00
|
|
|
Array
|
|
|
|
ok
|