ID: 38663 User updated by: imre dot koloszar at gmail dot com Reported By: imre dot koloszar at gmail dot com -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Windows XP, SP2 PHP Version: 5.1.6 New Comment:
Sorry, I'm quite new in PHP debugging. So this is the correct error message, I received in the log file after running this short php code. Could you help me, what does this 'zend.ze1_compatibility_mode' mean, and what shell I do to solve this problem? Thanks. -------------------------------------- ?php $doc = new DOMDocument('1.0'); ?> -------------------------------------- [01-Sep-2006 08:45:25] PHP Stack trace: [01-Sep-2006 08:45:25] PHP 1. {main}() E:\WORK2\PHP\helloworld\___dom.php:0 [01-Sep-2006 08:45:25] PHP Fatal error: Cannot clone object of class DOMDocument due to 'zend.ze1_compatibility_mode' in E:\WORK2\PHP\helloworld\___dom.php on line 2 Previous Comments: ------------------------------------------------------------------------ [2006-08-31 08:25:51] [EMAIL PROTECTED] Works perfectly fine here. >At the mentioned line the debug process was broken. What does this mean and why do you call this "crash"? ------------------------------------------------------------------------ [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