Its syntax is: boolean session_destroy() <? session_start(); // do some session stuff session_destroy(); ?>