(PHP 5 >= 5.4.0, PHP 7)
SessionHandlerInterface::destroy — Destroy a session
$session_id
)
Destroys a session. Called by session_regenerate_id() (with $destroy = TRUE),
session_destroy() and when session_decode() fails.
session_idThe session ID being destroyed.
반환 값(보통 성공 시 TRUE, 실패 시 FALSE). 이 값은 처리를 위해 내부적으로 PHP로 반환되는 점에 주의하십시오.