Mantis - Quercus
Viewing Issue Advanced Details
3270 block always 01-15-09 23:21 01-16-09 23:31
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003270: Switch statement fallthrough fails in compiled mode if a break exists
<?php
$x = 123;
switch ($x) {
  case 123:
    print "hi";
    if ($x == 1) {
      break;
    }
  default:
    print " there";
}

Regular PHP and Quercus in interpreted mode print "hi there". Quercus in compiled mode prints "hi".

Notes
(0003750)
nam   
01-16-09 23:31   
php/367x