Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3607 | minor | always | 07-23-09 02:45 | 05-11-10 17:48 | |
|
|||||
Reporter: | sblommers | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.7 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|