XMLReader::expand

(PHP 5 >= 5.1.0, PHP 7)
Returns a copy of the current node as a DOM object
public DOMNode XMLReader::expand ([ DOMNode $basenode ] )

This method copies the current node and returns the appropriate DOM object.

Parameters:
basenode

A DOMNode defining the target DOMDocument for the created DOM object.

Returns:

The resulting DOMNode or FALSE on error.

Changelog:
5.3.0

The parameter basenode was added.

doc_php
2016-02-24 16:15:24
Comments
Leave a Comment

Please login to continue.