|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-08 03:05 UTC] sniper@php.net
[2000-11-10 06:43 UTC] steinm@php.net
[2002-11-01 00:25 UTC] goodfx at bellatlamtic dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 06:00:02 2025 UTC |
The output of the following script <?php // create new xml document $document = new_xmldoc( "1.0" ); // add "root" element $root = $document->add_root( "root" ); // set contents for "root" element $root->content = "contents of root"; // output xml document print htmlspecialchars( $document->dumpmem() ); ?> is <?xml version="1.0"?> <root/> and not <?xml version="1.0"?> <root> contents of root <root/> as I'd expected it to be.