note 100576 deleted from gearman.constants by bjori
| From: | bjori@php.net | Date: | Tue, 14 Dec 2010 09:13:19 +0000 |
| Subject: | note 100576 deleted from gearman.constants by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174896@lists.php.net to get a copy of this message | ||
Note Submitter: serg dot smertin at gmail dot com
----
To get list of all Gearman constants (for error reporting at one point of usage), you should make
ext reflestion:
<?php
$refl = new ReflectionExtension('gearman');
$codes = array_flip($refl->getConstants());
?>