[php-src] Issue #23547: Should the absence of create_sid() method generate a DEPRECATED instead of WARNING message?

From: Date: Wed, 02 Sep 2026 16:27:47 +0000
Subject: [php-src] Issue #23547: Should the absence of create_sid() method generate a DEPRECATED instead of WARNING message?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-252698@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/23547 Author: campbell-m ### Description When using a custom session handler in PHP 8.6.0beta2 I get the following message: > PHP Warning: Class MyNamespace\SessionHandlerDb implementing SessionHandlerInterface is > missing the create_sid() method which will be required in PHP 9.0 Is a WARNING a bit harsh? It's also not consistent with the level of message from session_set_save_handler(): > PHP Deprecated: session_set_save_handler(): Providing an object to argument #1 > ($sessionhandler) which does not have the create_sid() method defined is deprecated ### PHP Version ```plain PHPP 8.6.0beta2 ``` ### Operating System _No response_

« previous php.bugs (#252698) next »