SessionHandlerInterface::gc Cleanup old sessions &reftitle.description; public intfalseSessionHandlerInterface::gc intmax_lifetime Cleans up expired sessions. Called by session_start, based on session.gc_divisor, session.gc_probability and session.gc_maxlifetime settings. &reftitle.parameters; max_lifetime Sessions that have not updated for the last max_lifetime seconds will be removed. &reftitle.returnvalues; Returns the number of deleted sessions on success, &return.falseforfailure;. Note this value is returned internally to PHP for processing. &reftitle.changelog; &Version; &Description; 7.1.0 Prior to this version, the function returned &true; on success.