See https://github.com/wcgallego/pecl-gearman/pull/72 for a patch. Any thoughts? I could rebase and submit a PR....