Anonymous | Login | Signup for a new account | 12-17-2024 11:02 PST |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |