OwlCyberSecurity - MANAGER
Edit File: gearman_client_005.phpt
--TEST-- GearmanClient::options(), gearman_client_options() --SKIPIF-- <?php if (!extension_loaded("gearman")) print "skip"; ?> --FILE-- <?php $client = new GearmanClient(); $client->setOptions(32); print "GearmanClient::options (OO): " . $client->options() . PHP_EOL; $client2 = gearman_client_create(); gearman_client_set_options($client2, 32); print "gearman_client_options (Procedural): " . gearman_client_options($client2) . PHP_EOL; print "OK"; ?> --EXPECT-- GearmanClient::options (OO): 32 gearman_client_options (Procedural): 32 OK