|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3519 | block | always | 05-16-09 13:24 | 05-20-09 13:51 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0003519: Reference not preserved in compiled mode | ||||
| Description: |
<?php function dostuff($args) { $ref = &$args['ref']; $ref = array('123'=>'abc'); } function foo() { $args = array('ref' => &$arr); dostuff($args); print_r($arr); } foo(); Regular PHP, and Quercus in interpreted mode, prints "Array ( [123] => abc )". Quercus in compiled mode prints nothing. If you assign a value to $arr before the call to dostuff(), that value is still present after the call. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||