# The SessionIdInterface interface

(PHP 5 >= 5.5.1, PHP 7, PHP 8)

## 简介

SessionIdInterface is an interface which defines optional methods for creating a custom session handler. In order to pass a custom session handler to session_set_save_handler() using its OOP invocation, the class can implement this interface.

Note that the callback methods of classes implementing this interface are designed to be called internally by PHP and are not meant to be called from user-space code.

## 接口摘要

interface SessionIdInterface {
/* 方法 */
public function create_sid(): string
}

## 目录

- SessionIdInterface::create_sid — Create session ID

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open