|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23856 set attribute
Submitted: 2003-05-28 08:58 UTC Modified: 2003-05-28 09:48 UTC
From: anton_kar at mail dot ru Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.3.1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anton_kar at mail dot ru
New email:
PHP Version: OS:


 [2003-05-28 08:58 UTC] anton_kar at mail dot ru
// Simplified Chinese, national standard character set. 

$doc = domxml_open_mem('<?xml version="1.0" encoding="gb2312" ?><data/>');
$root = $doc->document_element();

$node = $doc->create_element("para");

echo ($root->dump_mem(true));

<?xml version="1.0" encoding="gb2312"?>
  <para name="&amp;#28814;&amp;#24037;&amp;#20316;"/>
Can I set 'normal' value?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-28 09:48 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

See Bug #21213
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 13:01:25 2021 UTC