Solr
PHP Manual

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

SOLR_MAJOR_VERSION ( integer )
SOLR_MINOR_VERSION ( integer )
SOLR_PATCH_VERSION ( integer )
SOLR_EXTENSION_VERSION ( string )


Solr
PHP Manual