Running the PHPSessionHandlerTest with php8.3 gives following error:
3) MediaWiki\Session\PHPSessionHandlerTest::testSessionHandling with data set #0 ('php') session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: write) /workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:246 4) MediaWiki\Session\PHPSessionHandlerTest::testSessionHandling with data set #1 ('php_binary') session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: write) /workspace/src/tests/phpunit/includes/session/PHPSessionHandlerTest.php:246