public static function delete(string $name, string $namespace = '*'): void
    {
        self::initialize();
        if (isset($_SESSION[$namespace][$name])) {
            unset($_SESSION[$namespace][$name]);
            if (count($_SESSION[$namespace]) === 0) {
                unset($_SESSION[$namespace]);
            }
        }
    }
public static function delete(string $name, string $namespace = '*'): void
    {
        self::initialize();
        if (isset($_SESSION[$namespace][$name])) {
            unset($_SESSION[$namespace][$name]);
            if (count($_SESSION[$namespace]) === 0) {
                unset($_SESSION[$namespace]);
            }
        }
    }
public static function delete ( string $ name , string $ namespace = '*' ) : void { self :: initialize ( ) ; if ( isset ( $ _SESSION [ $ namespace ] [ $ name ] ) ) { unset ( $ _SESSION [ $ namespace ] [ $ name ] ) ; if ( count ( $ _SESSION [ $ namespace ] ) === 0 ) { unset ( $ _SESSION [ $ namespace ] ) ; } } }
Delete session-varable.

@param string $name
@param string $namespace
Delete session - varable .