Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (11 sloc) 0.441 kb
Experimental PHP bindings for 0MQ. The documentation is available at http://php.zero.mq/
The API is roughly as follows:
<?php
/* Create new queue object */
$queue = new ZMQ(new ZMQContext(), ZMQ::SOCKET_REQ, "MySock1");
/* Connect to an endpoint */
$queue->connect("tcp://127.0.0.1:5555");
/* send and receive */
var_dump($queue->send("hello there, using socket 1")->recv());
?>
For installation instructions see http://pear.zero.mq/
Jump to Line
Something went wrong with that request. Please try again.