RE: [PHP-DEV] PHP 4.0 Bug #4864: session_destroy() is supposed to always return TRUE, but returns false.

From: Date: Wed, 07 Jun 2000 12:45:49 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #4864: session_destroy() is supposed to always return TRUE, but returns false.
Groups: php.dev 
Request: Send a blank email to php-dev+get-20458@lists.php.net to get a copy of this message
In your ext/session/session.c it says: PHP_FUNCTION(session_destroy) { PSLS_FETCH(); _php_session_destroy(PSLS_C); } Change to: PHP_FUNCTION(session_destroy) { PSLS_FETCH(); _php_session_destroy(PSLS_C); RETURN_TRUE; } And it will return true :) regards --marten

« previous php.dev (#20458) next »