Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ZMQSocket::disconnectZMQSocket::getPersistentId>
^ZMQSocketLast updated: Mon, 26 Oct 2026

ZMQSocket::getEndpoints

(PECL zmq >= 0.5.0)

ZMQSocket::getEndpoints — Get list of endpoints

Description

public function ZMQSocket::getEndpoints(): array

Returns a list of endpoints where the socket is connected or bound to.

Parameters

This function has no parameters.

Return Values

Returns an array containing elements 'bind' and 'connect'.


<ZMQSocket::disconnectZMQSocket::getPersistentId>
^ZMQSocketLast updated: Mon, 26 Oct 2026