downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gnupg_getprotocol> <gnupg_export
Last updated: Fri, 14 Aug 2009

view this page in

gnupg_geterror

(PECL gnupg >= 0.1)

gnupg_geterrorRetourne le texte d'erreur, si une fonction échoue

Description

string gnupg_geterror ( resource $identifier )

Liste de paramètres

identifier

L'identifiant gnupg, généré par un appel à la fonction gnupg_init() ou à la fonction gnupg.

Valeurs de retour

Retourne le texte d'erreur si une erreur s'est produite, sinon retourne FALSE.

Exemples

Exemple #1 Exemple avec gnupg_geterror() (Style procédural)

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

Exemple #2 Exemple avec gnupg_geterror() (Style orienté objet)

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



add a note add a note User Contributed Notes
gnupg_geterror
There are no user contributed notes for this page.

gnupg_getprotocol> <gnupg_export
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites