gc()
gc(string $maxlifetime) : mixed
Cleanup old sessions
Garbage collection.
Parameters
| string |
$maxlifetime |
Sessions that have not updated for the last maxlifetime seconds will be removed. |
Returns
mixed
— The return value (usually TRUE on success, FALSE on failure).