PHP.nl

solr_get_version

solr_get_version

Returns the current version of the Apache Solr extension

string **solr_get_version**

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

It returns a string on success and false on failure.

This function throws no errors or exceptions.

Voorbeeld: example

<?php

$solr_version = solr_get_version();

print $solr_version;

?>
0.9.6

SolrUtils::getSolrVersion