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 ibm db2 函数 returns the precision of the indicated column in a result setphp ibm db2 函数 returns a result set listing primary keys for a tablephp 函数处理 函数 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 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 uopz 函数 adds non existent function or methodphp com 函数 returns the result from dividing two variantsphp com 函数 returns the result of performing the power function with two variantsphp phar returns true if the phar archive can be modified
关注编程学问公众号