With PHP's SessionHandler there is SessionHandler::write() which returns a value. The manual is somewhat vague about it:
Return Values
The return value (usually
TRUEon success,FALSEon failure). Note this value is returned internally to PHP for processing.
I wonder what the meaning of that processing by PHP is.
I already was that clever and looked into session_set_save_handler but there the return value for the write() callback isn't even mentioned.