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 mcve 函数 check to see if outgoing buffer is clearphp maxdb 函数 returns the default character set for the database connectionphp maxdb 函数 returns the error code for the most recent function callphp maxdb 函数 returns the number of warnings from the last query for the given linkphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp ncurses 函数 returns current erase characterphp 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 variantsphp splobjectstorage returns if the current iterator entry is valid
关注编程学问公众号