public static function delete()
    {
        // Loop all arguments
        foreach (func_get_args() as $argument) {

            // Array element
            if (is_array($argument)) {

                // Loop the keys
                foreach ($argument as $key) {

                    // Unset session key
                    unset($_SESSION[(string) $key]);
                }
            } else {

                // Remove from array
                unset($_SESSION[(string) $argument]);
            }
        }
    }
public static function delete()
    {
        // Loop all arguments
        foreach (func_get_args() as $argument) {

            // Array element
            if (is_array($argument)) {

                // Loop the keys
                foreach ($argument as $key) {

                    // Unset session key
                    unset($_SESSION[(string) $key]);
                }
            } else {

                // Remove from array
                unset($_SESSION[(string) $argument]);
            }
        }
    }
public static function delete ( ) { // Loop all arguments foreach ( func_get_args ( ) as $ argument ) { // Array element if ( is_array ( $ argument ) ) { // Loop the keys foreach ( $ argument as $ key ) { // Unset session key unset ( $ _SESSION [ ( string ) $ key ] ) ; } } else { // Remove from array unset ( $ _SESSION [ ( string ) $ argument ] ) ; } } }
Deletes one or more session variables.

Session::delete('user');
Deletes one or more session variables .