Skip to content

HTTPS clone URL

Subversion checkout URL

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

Merge pull request #160 from Orvid/uint64_t-option-val

Make setsockopt properly check that values are greater than 0 for uint64_t options
latest commit 5ed75cbe97
@mkoppanen authored
Failed to load latest commit information.
examples Add examples for the ZMQCert and ZMQAuth classes
options Make setsockopt properly check that values are greater than 0
tests Merge pull request #157 from phuedx/issue/156
travis This should errors in the travis script
.travis.yml This should errors in the travis script
ChangeLog Update package file for release
LICENSE Update license year
README.md Update to php.net urls
api.php Add the ZMQAuth class
config.m4 We need to pass explicit path here if any
config.w32 Fixes windows build
package.xml Add support for ZMQ_ROUTER_MANDATORY
php-zmq.spec Change the Release back to macro
php_zmq.h Update PHP_ZMQ_EXTVER to PHP_ZMQ_VERSION
php_zmq_pollset.h Update license year
php_zmq_private.h Changed the indentation and naming to follow rest of the extension
run-tests.sh Tiny changes to callback handling
zmq.c Changed the indentation and naming to follow rest of the extension
zmq_clock.c Calculate idle timer correctly. Fix clock allocation for windows
zmq_device.c Fixes tests
zmq_fd_stream.c Added new device callback for timer. Added monotonic clock functions …
zmq_pollset.c Whitespace removal
zmq_sockopt.c Add support for ZMQ_ROUTER_MANDATORY

README.md

PHP bindings for 0MQ. The documentation is available at http://php.net/zmq

Build Status

The API is roughly as follows:

<?php

/* Create new queue object */
$queue = new ZMQSocket(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://pecl.php.net/zmq

Something went wrong with that request. Please try again.