(PECL solr >= 0.9.2)
SolrUtils::getSolrVersion — Returns the current version of the Solr extension
public static SolrUtils::getSolrVersion ( ) : string
Returns the current Solr version.
This function has no parameters.
The current version of the Apache Solr extension.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrutils.getsolrversion.php