Skip to content

Instantly share code, notes, and snippets.

@juliendsv
Created December 12, 2012 14:42
Show Gist options
  • Save juliendsv/4268270 to your computer and use it in GitHub Desktop.
Save juliendsv/4268270 to your computer and use it in GitHub Desktop.
Check if zeromq is installed and tell you the version
<?php
if (class_exists("ZMQ") && defined("ZMQ::LIBZMQ_VER")) {
echo ZMQ::LIBZMQ_VER, PHP_EOL;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment