|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63043 Only one option can be removed at time
Submitted: 2012-09-08 02:44 UTC Modified: 2012-09-08 15:59 UTC
From: goran dot v dot miskovic at gmail dot com Assigned:
Status: Not a bug Package: gearman (PECL)
PHP Version: Irrelevant OS: Ubuntu 12.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: goran dot v dot miskovic at gmail dot com
New email:
PHP Version: OS:


 [2012-09-08 02:44 UTC] goran dot v dot miskovic at gmail dot com
From manual page:
$ php -i | grep Version
PHP Version => 5.3.10-1ubuntu3.2
$ php -i | grep gearman
Additional .ini files parsed => /etc/php5/cli/conf.d/gearman.ini,
gearman support => enabled
libgearman version => 0.27
$ pecl info gearman

Documentation reads that one or more options can be removed at time while only 
one option can be removed at time.

Test script:
$client = new GearmanClient();

Expected result:

Actual result:
Fatal error: Uncaught exception 'ErrorException' with message 
'GearmanClient::removeOptions() expects exactly 1 parameter, 3 given'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-08 03:19 UTC] reeze dot xia at gmail dot com
Hi goran,

THere is one param, these option should be combined if you want multiple
$client = new GearmanClient();

You could do the same thing with addOptions() :)
 [2012-09-08 09:00 UTC] goran dot v dot miskovic at gmail dot com
Hi Reeze! Thanks!
However, then, the next section "Parameters" could be enhanced.
Instead of reading "The options to be removed (unset)" it will be more 
informative to say: Pipe separated list of the options to be removed (unset).
I will be free to post example in user comments.
 [2012-09-08 15:59 UTC]
-Status: Open +Status: Not a bug
 [2012-09-08 15:59 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 18:01:29 2024 UTC