Anonymous | Login | Signup for a new account | 12-17-2024 14:45 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product 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 ( )". |
||||||||
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. |