Bug #14695: session_destroy affects output
| From: | ccjeagle at ms6 dot hinet dot net | Date: | Wed, 26 Dec 2001 02:44:59 +0000 |
| Subject: | Bug #14695: session_destroy affects output | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74997@lists.php.net to get a copy of this message | ||
From: ccjeagle@ms6.hinet.net
Operating system: FreeBSD4
PHP version: 4.1.0
PHP Bug Type: Session related
Bug description: session_destroy affects output
Take a look at this:
<?php
session_start() ;
$_SESSION["username"] = "abc" ;
echo "<p>First Line Here</p>" ;
session_destroy() ;
echo "<p>Second Line Here</p>" ;
?>
The output source code becomes :
<p>First Line Here</<p>Second Line Here</p>p>
------------------^^^----------------------^^
--
Edit bug report at: http://bugs.php.net/?id=14695&edit=1