Skip to content
This repository

ZeroMQ for PHP

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 examples
Octocat-spinner-32 tests
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 api.php
Octocat-spinner-32 config.m4
Octocat-spinner-32 config.w32
Octocat-spinner-32 package.xml
Octocat-spinner-32 php_zmq.h
Octocat-spinner-32 php_zmq_pollset.h
Octocat-spinner-32 php_zmq_private.h
Octocat-spinner-32 zmq.c
Octocat-spinner-32 zmq.spec
Octocat-spinner-32 zmq_pollset.c
Experimental PHP bindings for 0MQ.

The API is roughly as follows:


/* Create new queue object */
$queue = new ZMQ(new ZMQContext(), ZMQ::SOCKET_REQ, "MySock1");

/* Connect to an endpoint */

/* send and receive */
var_dump($queue->send("hello there, using socket 1")->recv());

Something went wrong with that request. Please try again.