| Anonymous | Login | Signup for a new account | 11-07-2025 05:37 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0003270 | [Quercus] | block | always | 01-15-09 23:21 | 01-16-09 23:31 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product 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". |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |