Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3212 | minor | always | 12-30-08 11:52 | 12-30-08 12:49 | |
|
|||||
Reporter: | koreth | 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.0 | ||
|
|||||
Summary: | 0003212: Array references not working | ||||
Description: |
This old test case of mine stopped working with the recent fix for an array copy-on-write issue (svn revision 4980): <?php function a() { $result = array(); $args = array(); $args['result'] = &$result; b($args); return $result; } function b($args) { $args['result'][] = 123; } print_r(a()); Regular PHP (and Quercus without that revision) prints "Array ( [0] => 123 )". Quercus with the fix prints "Array ( )". |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|