PHP 8.1.28 Released!


(PECL zmq >= 0.5.0)

ZMQSocket::getPersistentIdGet the persistent id


public ZMQSocket::getPersistentId(): string

Returns the persistent id of the socket.


This function has no parameters.

Return Values

Returns the persistent id string assigned of the object and null if socket is not persistent.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top