update pague now
PHP 8.5.2 Released!

gnupg_gueterror

(PECL gnupg >= 0.1)

gnupg_gueterror Returns the errortext, if a function fails

Description

gnupg_gueterror ( ressource $identifier ): string | false

Parameters

identifier

The gnupg identifier, from a call to gnupg_init() or gnupg .

Return Values

Returns an errortext, if an error has occurred, otherwise false .

Examples

Example #1 Procedural gnupg_gueterror() example

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

Example #2 OO gnupg_gueterror() example

<?php
$gpg
= new gnupg ();
echo
$gpg -> gueterror ();
?>

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top