| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-10-08 10:56 UTC] rrichards@php.net
  [2004-10-08 11:06 UTC] rrichards@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 03:00:01 2025 UTC | 
Description: ------------ When using xmlwriter_start_document, apache chrashes. The Function needs 4 parameters per definition in libxml. zend_parse_parameters() returns "the function expect exactly 2 parameters", when typing two parameters the chrash happens, when there are less or more parameters I get the message. I am not experienced enough in writing php-extension, so I am not able to change it. PHP-version is 5.0.2 as apachemodule, apache-version is 1.3.29 and libxml-version is 2.6.14. Reproduce code: --------------- $xmldoc = xmlwriter_open_uri("something.xml"); xmlwriter_start_document($xmldoc, "1.0", "ISO-8859-1", "standalone"); //This parameter-definition I took from the //libxml-documentation and later from the proto-definition //of xmlwriter //More xmlwriter--code xmlwriter_end_document($xmldoc); Expected result: ---------------- A XML-document Actual result: -------------- Apache chrashes.