|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-21 19:42 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 19:00:01 2026 UTC |
Description: ------------ $XML = new DOMDocument('1.0', 'iso-8859-1'); produces a warning: "Warning: domdocument() expects parameter 2 to be long, string given" Expected result: ---------------- DOMDocument() should accept strings as second argument, as stated in the docs: http://de3.php.net/manual/en/function.dom-domdocument-construct.php