ID:               32930
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pasha dot zubkov at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux 2.6.11.6-grsec
 PHP Version:      5.0.4
 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:
------------------------------------------------------------------------

[2005-05-03 20:29:19] pasha dot zubkov at gmail dot com

Description:
------------
When class extends with DOMDocument it's can't clone properly

Reproduce code:
---------------
<?php

class First extends DOMDocument {
        private $_first = null;

        public function setFirst($first) {
                $this->_first = $first;
        }

}

class Second extends First {
        public function __construct() {
                $this->setFirst('test');
        }
}

$obj = new Second;
$object = clone $obj;

var_dump($obj, $object);

?>

Expected result:
----------------
Object will be identical



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


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

Reply via email to