[php-src] PR #23059: Fix GH-23056: missing handler name in session write warning

From: Date: Wed, 05 Aug 2026 09:37:36 +0000
Subject: [php-src] PR #23059: Fix GH-23056: missing handler name in session write warning
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37547@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23059 Author: lazerg When the session data is unchanged, lazy write calls the update timestamp handler, and the warning names ps_update_timestamp. That zval stays undefined for handlers that do not provide an updateTimestamp() method, so the name came out empty. In that case ps_update_timestamp_user() calls the write handler instead, so the warning should name the write handler. This only shows on master because an empty session now encodes to an empty string rather than NULL, which lets the lazy write branch run where it previously did not. Fixes GH-23056.

« previous php.git-pulls (#37547) next »