SOLR_GET_VERSION(3) 1 SOLR_GET_VERSION(3)
solr_get_version - Returns the current version of the Apache Solr extension
SYNOPSIS
string solr_get_version (void )
DESCRIPTION
This function returns the current version of the extension as a string.
PARAMETERS
This function has no parameters.
RETURN VALUES
It returns a string on success and FALSE on failure.
ERRORS
/EXCEPTIONS
This function throws no errors or exceptions.
EXAMPLES
Example #1
solr_get_version(3) example
<?php
$solr_version = solr_get_version();
print $solr_version;
?>
The above example will output something similar to:
0.9.6
SEE ALSO
SolrUtils.getSolrVersion(3).
PHP Documentation Group SOLR_GET_VERSION(3)