# SessionIdInterface::create_sid

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

SessionIdInterface::create_sid — Create session ID

### 说明

public SessionIdInterface::create_sid(): string

Creates a new session ID.This function is automatically executed when a new session ID needs to be created.

### 参数

此函数没有参数。

### 返回值

The new session ID. Note that this value is returned internally to PHP for processing.

### 参见

- SessionHandler::create_sid() - Return a new session ID

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