(PECL gnupg >= 0.1)
gnupg_gueterror — Returns the errortext, if a function fails
identifier
The gnupg identifier, from a call to gnupg_init() or gnupg .
Returns an errortext, if an error has occurred, otherwise
false
.
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
();
?>