Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003607 [Quercus] minor always 07-23-09 02:45 05-11-10 17:48
Reporter sblommers View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.7 Product Version 4.0.0
  Product Build
Summary 0003607: PHP clone object is ignored?
Description $obj->data=array();
$obj->data['tree']=array('first');

$obj2=clone $obj;
$obj2->data['tree']=array("be changed!");
var_dump($obj);
var_dump($obj2);

will display:
object(stdClass) (1) {
["data"]=>
array(1) {
["tree"]=>
array(1) {
[0]=>
string(11) "be changed!"
}
}
}
object(stdClass) (1) {
["data"]=>
array(1) {
["tree"]=>
array(1) {
[0]=>
string(11) "be changed!"
}
}
}
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004569)
nam
05-11-10 17:48

php/090t
 

- Issue History
Date Modified Username Field Change
07-23-09 02:45 sblommers New Issue
05-11-10 17:48 nam Status new => assigned
05-11-10 17:48 nam Assigned To  => nam
05-11-10 17:48 nam Status assigned => closed
05-11-10 17:48 nam Note Added: 0004569
05-11-10 17:48 nam Resolution open => fixed
05-11-10 17:48 nam Fixed in Version  => 4.0.7


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker