©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL gnupg >= 0.4)
gnupg_init — Initialize a connection
此函数没有参数。
A GnuPG resource connection used by other GnuPG functions.
Example #1 Procedural gnupg_init() example
<?php
$res = gnupg_init ();
?>
Example #2 OO gnupg initializer example
<?php
$gpg = new gnupg ();
?>