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 maxdb 函数 pings a server connection or tries to reconnect if the connection has gone downphp 多字节字符串 函数 returns position and length of a matched part of the multibyte regular expression for a predefined multibyte stringphp msql 函数 returns error message of last msql callphp mssql 函数 returns the last message from the serverphp mysqlnd ms 函数 returns query distribution and connection statisticsphp 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 com 函数 returns the result of performing the power function with two variants
关注编程学问公众号