ID: 46849 Updated by: rricha...@php.net Reported By: hannes dot magnusson at gmail dot com -Status: Assigned +Status: Closed Bug Type: DOM XML related Operating System: Linux PHP Version: 5.3.0alpha3 Assigned To: rrichards New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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