#38663 [Opn->Fbk]: $doc = new DOMDocument() crash

From: Date: Thu, 31 Aug 2006 08:25:51 +0000
Subject: #38663 [Opn->Fbk]: $doc = new DOMDocument() crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101558@lists.php.net to get a copy of this message
ID: 38663 Updated by: tony2001@php.net Reported By: imre dot koloszar at gmail dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows XP, SP2 PHP Version: 5.1.6 New Comment: Works perfectly fine here. >At the mentioned line the debug process was broken. What does this mean and why do you call this "crash"? Previous Comments: ------------------------------------------------------------------------ [2006-08-31 06:43:24] imre dot koloszar at gmail dot com Description: ------------ $doc = new DOMDocument('1.0','utf-8') crash Reproduce code: --------------- There is a short example in the help which crashes the whole PHP processing at the first row. Example 1. Creating a Document <?php $doc = DOMDocument::loadHTML("<html><body>Test<br></body></html>"); echo $doc->saveHTML(); $doc = new DOMDocument(); $doc->loadHTML("<html><body>Test<br></body></html>"); echo $doc->saveHTML(); ?> Expected result: ---------------- just work properly Actual result: -------------- I have used the PHP 5.1.6 release (installed with compiled Windows Binaries) with Apache 2.2.3, debugging with Komodo 3.5. At the mentioned line the debug process was broken. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38663&edit=1

« previous php.bugs (#101558) next »