Home > PHP > Function > Solr > solr_get_version()

solr_get_version()

solr_get_version - Returns the current version of the Apache Solr extension

Syntax

string solr_get_version ()

Arguments

-

Description

This function returns the current version of the extension as a string.

Version

PHP PECL solr >= 0.9.1

Return value

It returns a string on success and FALSE on failure.