| Anonymous | Login | Signup for a new account | 11-06-2025 19:45 PST |
| 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 | ||||
| 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
| Product Build | |||||||||
| 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 ( )". |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |