ID: 32397 Updated by: [EMAIL PROTECTED] Reported By: m at tacker dot org -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: Gentoo Linux PHP Version: 4.3.9 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This documentation tells about DOM extension (that is available since PHP 5.0) and has nothing to do with DOM XML. Previous Comments: ------------------------------------------------------------------------ [2005-03-21 19:34:05] m at tacker dot org 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32397&edit=1