Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrInputDocument::sortSolrDocument>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026

SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArray — Returns an array representation of the input document

Description

public function SolrInputDocument::toArray(): array

Returns an array representation of the input document.

Parameters

This function has no parameters.

Return Values

Returns an array containing the fields. It returns false on failure.


<SolrInputDocument::sortSolrDocument>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026