Anonymous | Login | Signup for a new account | 12-17-2024 10:55 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 | ||||
0003160 | [Quercus] | major | always | 12-12-08 09:20 | 12-14-08 11:07 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003160: Array ref not preserved | ||||||||
Description |
<?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 prints "Array ( [0] => 123 )". Quercus prints "Array ( )". |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |