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
 
<XMLReaderXMLReader::expand>
^XMLReaderLast updated: Mon, 26 Oct 2026

XMLReader::close

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

XMLReader::close — Close the XMLReader input

Description

public function XMLReader::close(): true

Closes the input the XMLReader object is currently parsing.

Parameters

This function has no parameters.

Return Values

Always returns true.

See Also


<XMLReaderXMLReader::expand>
^XMLReaderLast updated: Mon, 26 Oct 2026