array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.solr-get-version.php', 1 => 'solr_get_version', 2 => 'Returns the current version of the Apache Solr extension', ), 'up' => array ( 0 => 'ref.solr.php', 1 => 'Solr İşlevleri', ), 'prev' => array ( 0 => 'ref.solr.php', 1 => 'Solr İşlevleri', ), 'next' => array ( 0 => 'solr.examples.php', 1 => 'Örnekler', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/functions/solr-get-version.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

solr_get_version

(PECL solr >= 0.9.1)

solr_get_versionReturns the current version of the Apache Solr extension

Açıklama

solr_get_version(): string

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

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

It returns a string on success and false on failure.

Hatalar/İstisnalar

This function throws no errors or exceptions.

Örnekler

Örnek 1 solr_get_version() example

<?php

$solr_version
= solr_get_version();

print
$solr_version;

?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

0.9.6

Ayrıca Bakınız