php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78275 Documentation missing critical information
Submitted: 2019-07-11 14:59 UTC Modified: 2019-07-15 09:12 UTC
From: kristian dot sandstrom at qbank dot se Assigned:
Status: Open Package: gearman (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-07-11 14:59 UTC] kristian dot sandstrom at qbank dot se
Description:
------------
---
From manual page: https://php.net/gearmanjob.unique
---

GearmanJob->unique() will not return the value sent to Worker::construct unless you add the GEARMAN_WORKER_GRAB_UNIQ option through GearmanJob->addOption(..), which is highlighted in a comment on the article.

This feels like critical information that should be highlighted in GearmanJob documentation here and in language docs.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-11 15:04 UTC] girgias@php.net
-Package: PHP Language Specification +Package: gearman
 [2019-07-15 09:12 UTC] cmb@php.net
It seems to me that the most critical information which is
missing, is that PECL/gearman had its latest release almost 6
years ago (I doubt that it is PHP 7 compatible), and that the
linked source code repository[1] has been archived.

[1] <https://github.com/hjr3/pecl-gearman>
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 21:01:26 2019 UTC