php-src/Zend/tests/unset_cv05.phpt

23 lines
396 B
Plaintext
Raw Normal View History

--TEST--
unset() CV 5 (indirect unset() of global variable in session_start())
--INI--
session.auto_start=0
session.save_handler=files
--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
?>
--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