Re: Re: PHP 4.0 Bug #4864 Updated: session_destroy() is supposed to always return TRUE, but returns false.
| From: | Sascha Schumann | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #4864 Updated: 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-23518@lists.php.net to get a copy of this message | ||
On Tue, 4 Jul 2000 juhl@eisenstein.dk wrote:
> > session_destroy returns void. The manual
> has been fixed.
> >
> > Full Bug description available at:
> http://bugs.php.net/version4/?id=4864
> >
>
> Well, I recently submitted a patch to Sascha
> Schumann (sascha@schumann.cx) that fixes
> session_destroy() so that it returns TRUE if
> destroying the session data succeeds, and
> FALSE if the session data could not be
> destroyed (like if unlink()ing the file
> fails). I was under the impression that
> Sascha accepted my patch, and if so then the
> current change to the manual should actually
> be changed once again to reflect the new
> behaviour.
Ok, I'll commit that patch in a second.
Please make it clear the next time that you want me not to only review
that patch. :)
- Sascha