Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ZeroMQ for PHP
C PHP XSLT Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
examples
tests
ChangeLog
LICENSE
README
api.php
config.m4
config.w32
package.xml
php_zmq.h
php_zmq_pollset.h
php_zmq_private.h
zmq.c
zmq.spec
zmq_pollset.c

README

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/
Something went wrong with that request. Please try again.