gnupg_geterror

(PECL gnupg >= 0.1)

gnupg_geterrorReturns the errortext, if a function fails

说明

gnupg_geterror ( resource $identifier ) : string

参数

identifier

gnupg 标识符,由对 gnupg_init()gnupg 的调用生成。

返回值

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

范例

Example #1 Procedural gnupg_geterror() example

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

Example #2 OO gnupg_geterror() example

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

相关文章
php 函数处理 函数 returns the number of arguments passed to the functionphp gnupg 函数 returns the errortext if a function failsphp gnupg 函数 returns the currently active protocol for all operationsphp gnupg 函数 returns an array with information about all keys that matches the given patternphp imap 函数 this function returns an array of messages matching the given search criteriaphp imap 函数 this function returns the uid for the given message sequence numberphp maxdb 函数 returns the error code for the most recent function callphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp newt 函数 this function returns a grid containing the buttons createdphp oci8 函数 returns the next row from a query as a numeric arrayphp pdf 函数 get name of unsuccessfull api functionphp postgresql 函数 returns an individual field of an error reportphp ps 函数 takes an gd image and returns an image for placement in a ps documentphp svn 函数 abort a transaction returns true if everything is okay false otherwisephp svn 函数 copies a file or a directory returns true if all is ok false otherwisephp svn 函数 creates a new empty directory returns true if all is ok false otherwisephp svn 函数 creates a new empty file returns true if all is ok false otherwisephp swoole 函数 check if a timer callback function is existedphp com 函数 returns the result of performing the power function with two variantsphp swftext returns the leading of the current font at its current size or 0 if not available
关注编程学问公众号