| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2012-09-24 01:22 UTC] hradtke@php.net
 
-Status: Open
+Status: Feedback
  [2012-09-24 01:22 UTC] hradtke@php.net
  [2012-09-24 15:37 UTC] me at re-becca dot org
  [2012-09-24 15:37 UTC] me at re-becca dot org
 
-Status: Feedback
+Status: Open
  [2012-09-24 20:23 UTC] hradtke@php.net
 
-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: hradtke
  [2012-11-16 11:51 UTC] fruit dot dev at gmail dot com
  [2012-11-16 11:55 UTC] fruit dot dev at gmail dot com
  [2012-11-16 21:34 UTC] me at re-becca dot org
  [2012-11-16 23:58 UTC] hradtke@php.net
  [2012-11-29 13:49 UTC] fruit dot dev at gmail dot com
  [2013-04-25 16:38 UTC] me at re-becca dot org
  [2013-04-25 23:12 UTC] fruit dot dev at gmail dot com
  [2017-01-10 08:22 UTC] kalle@php.net
 
-Status:      Assigned
+Status:      Suspended
-Assigned To: hradtke
+Assigned To:
  [2017-01-10 08:22 UTC] kalle@php.net
  [2017-07-25 15:12 UTC] kalle@php.net
 
-Status:      Suspended
+Status:      Closed
-Assigned To:
+Assigned To: kalle
  | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 03:00:01 2025 UTC | 
Description: ------------ gearman support => enabled extension version => 1.0.3 libgearman version => 0.37 Default TCP Host => localhost Default TCP Port => 4730 See php_gearman.c: PHP_FUNCTION(gearman_client_run_tasks) and PHP_FUNCTION(gearman_worker_work) where they call *_set_server_option Test script: --------------- <?php $gm = new GearmanWorker(); $gm->addServer(); $gm->addServer("127.0.0.1",1234); $gm->addFunction("example", function () {}); $gm->work(); Expected result: ---------------- Assuming that you have a gearman server running on localhost on the default port: I expect it to connect to that server and register the "example" function. Actual result: -------------- Fatal error: Uncaught exception 'GearmanException' with message 'Failed to set exception option' in /Users/bturner/pc/gme/test.php on line 5 GearmanException: Failed to set exception option in /Users/bturner/pc/gme/test.php on line 5 Call Stack: 0.0003 636840 1. {main}() /Users/bturner/pc/gme/test.php:0 0.0007 641160 2. GearmanWorker->work() /Users/bturner/pc/gme/test.php:6 Dump $_SERVER