--TEST-- Test shared context --SKIPIF-- --FILE-- getSocket(ZMQ::SOCKET_REQ, 'persistent id'); $dsn = uniqid("inproc://shared-ctx-"); $socket1->bind ($dsn); $socket2->connect ($dsn); $socket2->send("hello"); var_dump($socket1->recv()); var_dump ($context->isPersistent()); var_dump ($context->getSocketCount()); echo "OK"; --EXPECT-- string(5) "hello" bool(true) int(2) OK