gearman pecl.php.net PHP wrapper to libgearman This extension uses libgearman library to provide API for communicating with gearmand, and writing clients and workers. James M. Luedke jluedke contact@jamesluedke.com no Herman J. Radtke III hradtke hradtke@php.net yes 2024-04-04 2.1.2 2.1.2 stable stable PHP PHP 8 is now supported 7.0.0 8.3.99 6.0.0 1.4.0b1 gearman stable stable 2.1.2 2.1.2 2024-04-03 - Bump max PHP version to support PHP 8.2 and 8.3 stable stable 2.1.1 2.1.1 2024-04-02 - Compatibility fix - remove ZVAL_NEW_ARR usage - add Param to skip exception handling setup in addServer/addServers in GearmanWorker class - fix memory leak in GearmanClient::doXXX methods - fix some proto and stubs types stable stable 2.1.0 2.1.0 2021-01-16 - PHP 8.0 Support - Fix a serialization segfault stable stable 1.1.2 1.1.2 2013-08-28 - All callbacks should have a reference pointer (Special thanks to guilhermeblanco) stable stable 1.1.1 1.1.1 2013-01-08 - Updated README with new libgearman requirements. - Add explicit check for >= libgearman-1.1.0 - Fixed PECL Bug 63807 (Special thanks to kgovande) - Add support for gearman_client_unique_status() method stable stable 1.1.0 1.1.0 2012-09-22 - libgearman v1.1.* is now required - Fixed PECL bug #60877 (no way to set client_id for a GearmanWorker) - Fixed BC breaks in libgearman v1.1.0 - Make phpversion('gearman') return the real version stable stable 1.0.3 1.0.3 2012-08-04 - Additional fix for PECL Bug #59423 (GearmanWorker::wait and GearmanWorker::work are spamming the log with warnings.) stable stable 1.0.2 1.0.2 2012-03-05 - Updates for PHP 5.4 stable stable 1.0.1 1.0.1 2011-12-05 - Fixed PECL Bug #60438 (wrong version number in php_gearman.h) stable stable 1.0.0 1.0.0 2011-12-02 - Fixed PECL Bug #18658 (GearmanWorker::wait and GearmanWorker::work are spamming the log with warnings.) - Fixed PECL Bug #22636 (Uncaught worker exception sends back GEARMAN_SUCCESS return code) - Fixed PECL Bug #16900 (Don't use reseved method names) - Fixed PECL Bug #59944 (Undefined symbol: gearman_client_set_server_option) - Now requires libgearman 0.21 or greater beta beta 0.8.0 0.8.0 2010-05-17 - Fixed PECL Bug #17114 (Return values that are class private variables are null'd) - Fixed PECL Bug #22637 (GearmanJob::setReturn causes segfault) - Fixed PECL Bug #16883 (GearmanJob::sendWarning() segfaults) - Fixed PECL Bug #16884 (GearmanJob::sendData() crashes) - Fixed PECL Bug #16883 (GearmanWorker::addFunction segfaults when function name is non-string) - Fixed PECL Bug #17539 (Segmentation fault on calling error() of a fresh worker). Patch by jiayong. beta beta 0.7.0 0.7.0 2010-03-09 - Now builds against gearmand 0.12 - Had to remove some of the low level code I was working on. beta beta 0.6.0 0.6.0 2009-10-01 - Fixed build issue with 5.1.x - Merged eday changes - Added wait functions, uncommented other worker functions. - Added timeout functions. - Updated function list from C library and removed free methods (should use unset). - Added stubs for new functions, fixed tests, fixed some of the existing functions from changes. beta beta 0.5.0 0.5.0 2009-07-27 - Fixed a bug in the task callbacks, the addtional data arg will now work as expected. - Added gearman_client_add_servers. This was adde in a recent version of libgearman. - Updates to zts for php 5.3 - Replaced errno with getErrno beta beta 0.4.0 0.4.0 2009-06-30 - Fixed memory leak in $task object - Regened constants off of libgearman v0.7 - Removed gearman_task_take_data - Added exception to task job object when created without a geaman obj arg - Fixed a bunch of places where it was possible to use objects before verifying them - Other small bug fixes beta beta 0.3 0.3 2009-05-20 - Initial PECL import - Reworked client/worker/task/job objects. - Added $obj->return_code() to all objects - Fixed compile issues with PHP 5.1 and 5.3