Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003351 [Quercus] major always 02-22-09 15:34 02-23-09 21:47
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 0003351: Reference argument fails in compiled mode with dynamic function call
Description <?php
function foo(&$var) {
  $var = 'abc';
}

function x() {
  $value = 'abcdefg';
  $func = 'foo';
  $func($value);
  print $value;
}

x();


Regular PHP, and Quercus in interpreted mode, prints "abc". Quercus in compiled mode prints "abcdefg".
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003834)
ferg
02-23-09 21:47

php/3731
 

- Issue History
Date Modified Username Field Change
02-22-09 15:34 koreth New Issue
02-23-09 21:47 ferg Note Added: 0003834
02-23-09 21:47 ferg Assigned To  => ferg
02-23-09 21:47 ferg Status new => closed
02-23-09 21:47 ferg Resolution open => fixed
02-23-09 21:47 ferg 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