--TEST--n list signatures --FILE-- seterrormode(gnupg::ERROR_WARNING); $ret = $gpg -> listsignatures($fingerprint); var_dump($ret); ?> --EXPECT-- array(1) { ["testkey (testkey) "]=> array(1) { ["2E96F141B3DD2B2E"]=> array(8) { ["uid"]=> string(36) "testkey (testkey) " ["name"]=> string(7) "testkey" ["email"]=> string(16) "test@example.net" ["comment"]=> string(7) "testkey" ["expires"]=> int(0) ["revoked"]=> bool(false) ["expired"]=> bool(false) ["invalid"]=> bool(false) } } }