XMLReader::readOuterXml

(PHP 5 >= 5.2.0, PHP 7)

XMLReader::readOuterXmlRetrieve XML from current node, including itself

说明

public XMLReader::readOuterXml ( void ) : string

Reads the contents of the current node, including the node itself.

参数

此函数没有参数。

返回值

Returns the contents of current node, including itself, as a string. Empty string on failure.

注释

Caution

此函数仅在 PHP 与 libxml 20620 或以上版本编译时可用。

参见

相关文章
php eventbuffer move all data from a buffer provided to the current instance of eventbufferphp eventbuffer moves the specified number of bytes from a source buffer to the end of the current bufferphp imap 函数 mark a message for deletion from current mailboxphp ldap 函数 delete attribute values from current attributesphp 多字节字符串 函数 retrieve the result from the last multibyte regular expression matchphp ncurses 函数 insert character moving rest of line including character at current positionphp newt 函数 replaces the current help line with the one from the stackphp simplexml 函数 get a simplexmlelement object from a dom nodephp harupage append a straight line from the current point to the start point of the pathphp harupage draw a line from the current point to the specified pointphp hrtime performancecounter current ticks from the systemphp intlrulebasedbreakiterator get the largest status value from the break rules that determined the current break positionphp intlrulebasedbreakiterator get the status values from the break rules that determined the current break positionphp spldoublylinkedlist pops a node from the end of the doubly linked listphp splqueue dequeues a node from the queuephp tidynode returns the parent node of the current nodephp xmlreader returns a copy of the current node as a dom objectphp xmlreader retrieve xml from current nodephp xmlreader retrieve xml from current node including itselfphp xmlreader reads the contents of the current node as a string
关注编程学问公众号