|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3270 | block | always | 01-15-09 23:21 | 01-16-09 23:31 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003270: Switch statement fallthrough fails in compiled mode if a break exists | ||||
| Description: |
<?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". |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||