The next release for PHP GnuPG 1.4.0 was released. It fixes ZTS issue with invalid context for a password callback.