|
PHP5中文手册
DomDocument->html_dump_mem(No version information available, might be only in CVS) DomDocument->html_dump_mem — Dumps the internal XML tree back into a string as HTML 说明
string DomDocument->html_dump_mem
( void
)
Creates an HTML document from the dom representation. This function usually is called after building a new dom document from scratch as in the example below.
Example#1 Creating a simple HTML document header
<?php 上例将输出:
See also domdocument_dump_file(), and domdocument_html_dump_mem(). |