--TEST-- GEARMAN_CLIENT_STOP_WAIT_ON_SIGNAL constant and addOptions() --SKIPIF-- --FILE-- addOptions(GEARMAN_CLIENT_STOP_WAIT_ON_SIGNAL); $after = $client->options(); var_dump(($after & GEARMAN_CLIENT_STOP_WAIT_ON_SIGNAL) !== 0); $client->removeOptions(GEARMAN_CLIENT_STOP_WAIT_ON_SIGNAL); $removed = $client->options(); var_dump(($removed & GEARMAN_CLIENT_STOP_WAIT_ON_SIGNAL) === 0); print "OK"; ?> --EXPECT-- bool(true) bool(true) OK