Mantis Bugtracker
  

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

- Relationships

- 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 [^]
 

- Issue History
Date Modified Username Field Change
12-30-08 11:52 koreth New Issue
12-30-08 12:13 nam Status new => assigned
12-30-08 12:13 nam Assigned To  => nam
12-30-08 12:49 nam Status assigned => closed
12-30-08 12:49 nam Note Added: 0003688
12-30-08 12:49 nam Resolution open => fixed
12-30-08 12:49 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker