array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.gnupg-geterror.php', 1 => 'gnupg_geterror', ), 'up' => array ( 0 => 'ref.gnupg.php', 1 => 'GnuPG İşlevleri', ), 'prev' => array ( 0 => 'function.gnupg-getengineinfo.php', 1 => 'gnupg_getengineinfo', ), 'next' => array ( 0 => 'function.gnupg-geterrorinfo.php', 1 => 'gnupg_geterrorinfo', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gnupg/functions/gnupg-geterror.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gnupg >= 0.1)
gnupg_geterror — Returns the errortext, if a function fails
identifier
Gnupg tanıtıcısı, bir gnupg_init() çağrısından veya gnupg nesnesinden elde edilir.
Returns an errortext, if an error has occurred, otherwise false
.
Örnek 1 Procedural gnupg_geterror() example
<?php
$res = gnupg_init();
echo gnupg_geterror($res);
?>
Örnek 2 OO gnupg_geterror() example
<?php
$gpg = new gnupg();
echo $gpg->geterror();
?>