ID:               46849
 Updated by:       bj...@php.net
 Reported By:      hannes dot magnusson at gmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         DOM XML related
 Operating System: Linux
 PHP Version:      5.3.0alpha3
-Assigned To:      
+Assigned To:      rrichards


Previous Comments:
------------------------------------------------------------------------

[2008-12-12 14:01:42] hannes dot magnusson at gmail dot com

Description:
------------
Cloning and DOMDocument doesn't clone the properties

Reproduce code:
---------------
<?php
$dom = new DOMDocument;
$dom->formatOutput = 1;
var_dump($dom->formatOutput);

$dom2 = clone $dom;
var_dump($dom2->formatOutput);


Expected result:
----------------
bool(true)
bool(true)

Actual result:
--------------
bool(true)
bool(false)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46849&edit=1

Reply via email to