Re: PHP 4.0 Bug #4864: session_destroy() is supposed to always return TRUE, but returns false.
| From: | Sascha Schumann | Date: | Wed, 07 Jun 2000 17:45:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #4864: session_destroy() is supposed to always return TRUE, but returns false. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20486@lists.php.net to get a copy of this message | ||
On 7 Jun 2000 juhl@eisenstein.dk wrote:
> From: juhl@eisenstein.dk
> Operating system: Linux
> PHP version: 4.0.0 Release
> PHP Bug Type: Misbehaving function
> Bug description: session_destroy() is supposed to always return TRUE, but returns false.
>
>
> In the manual it's stated, that session_destroy() always returns true, but that is not so.
> The following script produces the output "FALSE" on my box, indicating that
> session_destroy() does not return TRUE.
>
> <?php
> session_start();
> $tmpvar = session_destroy();
It does not return anything. The manual should get fixed.
- Sascha