gnupg_getengineinfo
PECL gnupg >= 1.5
gnupg_getengineinfo - Returns the engine info
Example #1 Procedural gnupg_getengineinfo example
Result: array(3) {
["protocol"]=>
int(0)
["file_name"]=>
string(12) "/usr/bin/gpg"
["home_dir"]=>
string(0) ""
}
Example #2 OO gnupg_getengineinfo example
Result: array(3) {
["protocol"]=>
int(0)
["file_name"]=>
string(13) "/usr/bin/gpg2"
["home_dir"]=>
string(15) "/var/www/.gnupg"
}