# SessionUpdateTimestampHandlerInterface::updateTimestamp

(PHP 7, PHP 8)

SessionUpdateTimestampHandlerInterface::updateTimestamp — Update timestamp

### 说明

public SessionUpdateTimestampHandlerInterface::updateTimestamp(string `$id`, string `$data`): bool

Updates the last modification timestamp of the session. This function is automatically executed when a session is updated.

### 参数

`id`

  The session ID.

`data`

  The session data.

### 返回值

Returns `true` if the timestamp was updated, `false` otherwise. Note that this value is returned internally to PHP for processing.

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