Anonymous | Login | Signup for a new account | 10-30-2024 04:14 PDT |
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 | ||||
0003212 | [Quercus] | minor | always | 12-30-08 11:52 | 12-30-08 12:49 | ||||
Reporter | koreth | 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.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003688) nam 12-30-08 12:49 |
php/04b0 The fix for 3210 needs to be re-looked at. http://bugs.caucho.com/view.php?id=3210 [^] |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |