--TEST-- Test basic callback usage --SKIPIF-- --FILE-- getEndpoints()); $ctx = new ZMQContext(); $socket = $ctx->getSocket(ZMQ::SOCKET_REQ, 'my persistent 2', 'bind_callback'); var_dump($socket->getEndpoints()); --EXPECT-- array(2) { ["connect"]=> array(0) { } ["bind"]=> array(1) { [0]=> string(22) "inproc://php-test-5566" } } array(2) { ["connect"]=> array(0) { } ["bind"]=> array(1) { [0]=> string(22) "inproc://php-test-5567" } }