Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1155 | major | always | 05-26-06 22:11 | 05-30-06 08:33 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.20 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001155: Multidimensional array copies contain references to original array | ||||
Description: |
PHP: <?php $a1['x']['a'] = 1; $a2 = $a1; unset($a1['x']['a']); print $a2['x']['a']; ?> On Zend PHP, this prints "1". On Quercus, it prints nothing -- unsetting the second-dimension array element in $a1 also modifies $a2. This does not happen on the first dimension of an array, only on the second and greater dimensions. |
||||
Steps To Reproduce: | |||||
Additional Information: | 060526 snapshot | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|