Anonymous | Login | Signup for a new account | 12-17-2024 12:00 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002879 | [Quercus] | minor | always | 08-28-08 23:56 | 09-03-08 23:47 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.2.1 | Product Version | 3.2.1 | ||||
Product Build | |||||||||
Summary | 0002879: Bogus "break" causes compilation failure | ||||||||
Description |
<?php function foo($id) { if ($id == 1) { break; } return null; } That's obviously a bogus "break" (and this Quercus bug uncovered a case like this in our code base) but the above fails to compile. The generated Java code has two "return" statements in a row which causes an "unreachable statement" error. Not high priority at all; the offending PHP code can and should be fixed to not tickle this bug. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |