function session_destroy() ends all persistent data corresponding to the current user session.
Its syntax is: boolean session_destroy() <? session_start(); // do some session stuff session_destroy(); ?>