com php-src: Fixed test (adopted to new session_start behav ior): Zend/tests/unset_cv05.phpt
| From: | Dmitry Stogov | Date: | Thu, 17 Nov 2016 09:20:46 +0000 |
| Subject: | com php-src: Fixed test (adopted to new session_start behav ior): Zend/tests/unset_cv05.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95818@lists.php.net to get a copy of this message | ||
Commit: d0bdf19eb48f4d1c23b78cb58d2f65d0bc2b6f49
Author: Dmitry Stogov <dmitry@zend.com> Thu, 17 Nov 2016 12:20:46 +0300
Parents: 39fa227744df3b6827cf47e56e27934763789178
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d0bdf19eb48f4d1c23b78cb58d2f65d0bc2b6f49
Log:
Fixed test (adopted to new session_start behavior)
Changed paths:
M Zend/tests/unset_cv05.phpt
Diff:
diff --git a/Zend/tests/unset_cv05.phpt b/Zend/tests/unset_cv05.phpt
index 36fea3b..2992e62 100644
--- a/Zend/tests/unset_cv05.phpt
+++ b/Zend/tests/unset_cv05.phpt
@@ -12,18 +12,11 @@ include(dirname(__FILE__)..'/../../ext/session/tests/skipif.inc');
--FILE--
<?php
$_SESSION = "ok\n";
-echo $_SESSION;
session_start();
echo $_SESSION;
echo "\nok\n";
?>
--EXPECTF--
-ok
-
-Warning: session_start(): Cannot send session cookie - headers already sent by (output started at
%sunset_cv05.php on line %d
-
-Warning: session_start(): Cannot send session cache limiter - headers already sent (output started
at %sunset_cv05.php:%d) in %sunset_cv05.php on line %d
-
Notice: Array to string conversion in %sunset_cv05.php on line %d
Array
ok