Permalink
Browse files

Fix PHP example

  • Loading branch information...
Mikko Koppanen
Mikko Koppanen committed Dec 13, 2011
1 parent 51b48aa commit b83e39dd2fff3255d06a83af8a8df2839a94e24d
Showing with 2 additions and 1 deletion.
  1. +2 −1 examples/PHP/mtserver.php
@@ -44,4 +44,5 @@ function worker_routine() {
$workers->bind("ipc://workers.ipc");
// Connect work threads to client threads via a queue
-$device = new ZMQDevice(ZMQ::DEVICE_QUEUE, $clients, $workers);
+$device = new ZMQDevice($clients, $workers);
+$device->run ();

0 comments on commit b83e39d

Please sign in to comment.