Mantis - Quercus
Viewing Issue Advanced Details
3351 major always 02-22-09 15:34 02-23-09 21:47
koreth  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003351: Reference argument fails in compiled mode with dynamic function call
<?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".

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