Mantis - Quercus
Viewing Issue Advanced Details
3383 block always 03-10-09 16:35 03-11-09 13:15
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003383: Stack overflow with variable self-assignment
<?php
function f1($x=false) { }
function f2($x=false) {
  $x = 'y';
  return f1($x=$x);
}
f2();

Works in interpreted mode, but in compiled mode dies with a stack overflow on an infinite recursion in Var.toArgValue().

Notes
(0003875)
nam   
03-11-09 13:14   
php/33db