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 postgresql 函数 returns the name or oid of the tables fieldphp runkit 函数 specify a function to capture and/or process output from a runkit sandboxphp sqlite 函数 registers a regular user defined function for use in sql statementsphp sqlite 函数 returns the error code of the last error for a databasephp sqlsrv 函数 returns the value of the specified configuration settingphp 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
关注编程学问公众号