Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    gnupg_geterrorinfo »
    « gnupg_getengineinfo

    gnupg_geterror

    (PECL gnupg >= 0.1)

    gnupg_geterrorReturns the errortext, if a function fails

    Description

    gnupg_geterror(resource$identifier):string|false

    Parameters

    identifier

    The gnupg identifier, from a call tognupg_init() orgnupg.

    Return Values

    Returns an errortext, if an error has occurred, otherwisefalse.

    Examples

    Example #1 Proceduralgnupg_geterror() example

    <?php
    $res
    =gnupg_init();
    echo
    gnupg_geterror($res);
    ?>

    Example #2 OOgnupg_geterror() example

    <?php
    $gpg
    = newgnupg();
    echo
    $gpg->geterror();
    ?>

    Found A Problem?

    Learn How To Improve This PageSubmit a Pull RequestReport a Bug
    add a note

    User Contributed Notes

    There are no user contributed notes for this page.
    To Top
    and to navigate •Enter to select •Esc to close
    PressEnter without selection to search using Google

    [8]ページ先頭

    ©2009-2025 Movatter.jp