From: thomas dot sattler at decon-network dot de Operating system: Windows XP PHP version: 4.3.3 PHP Bug Type: Apache related Bug description: No errror reporting
Description: ------------ When I use Apache 1.3.29 with php4apache.dll there is no error reporting. With the php.exe the errors are reported. This occurs also with php-4.3.4 and php.4.3.5.5 but not with the php.exe. Reproduce code: --------------- <?php ini_set("display_errors", "1"); $xmlstr='<?xml version="1.0" encoding="UTF-8"?> <udk-result:udk xmlns:udk-result="http://www.umweltdatenkatalog.de/udk/query-answer"> <udk-result:data-source server-id="BW"> </udk-result:data-source> </udk-result:udka>'; ?><?php if(!$doc = domxml_open_mem($xmlstr)) print "ERROR!"; else {print_r ($doc); $root=$doc->document_element();} $xmltest = domxml_new_doc("1.0"); $xmlroot = $xmltest->create_element("testtag"); $xmlroot = $xmltest->append_child($xmlroot); $xmlroot->set_content("content € rest content"); $test_text = $xmltest->dump_mem(0, 'iso-8859-1'); print "<pre> $test_text </pre>"; ?> Expected result: ---------------- Warnings on line 8 domxml_open_mem() (xml-string is not well formed) and on line 15 "dump_mem(): output conversion failed due to conv error" (the euro symbol is not iso-8859-1) Actual result: -------------- The output is only: ERROR!<pre> <?xml version="1.0" encoding="iso-8859-1"?> <testtag>content </pre> -- Edit bug report at http://bugs.php.net/?id=26443&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26443&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26443&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26443&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26443&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26443&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26443&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26443&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26443&r=support Expected behavior: http://bugs.php.net/fix.php?id=26443&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26443&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26443&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26443&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26443&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26443&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26443&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26443&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26443&r=float