note 100576 modified in gearman.constants by danbrown

From: Date: Mon, 25 Oct 2010 03:46:39 +0000
Subject: note 100576 modified in gearman.constants by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-173425@lists.php.net to get a copy of this message
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()); ?> --was-- To get list of all Gearman constants (for error reporting at one point of usage), you should make ext reflestion: $refl = new ReflectionExtension('gearman'); $codes = array_flip($refl->getConstants()); http://php.net/manual/en/gearman.constants.php

« previous php.notes (#173425) next »