Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001139 [Quercus] minor always 05-22-06 13:18 05-24-06 16:50
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.20 Product Version 3.0.20
  Product Build
Summary 0001139: Compile failure with nonterminating while loop
Description PHP:

<?php
function foo() {
        while (1) {
                if (1)
                        return 1;
                else
                        return 0;
        }
}
?>

This fails to compile:

[13:15:59.804] /Users/sgrimm/resin/resin/webapps/test/WEB-INF/work/_quercus/_test__php.java:74: unreachable statement
[13:15:59.804] return com.caucho.quercus.env.NullValue.NULL;
[13:15:59.804] ^
[13:15:59.804] 1 error
Steps To Reproduce
Additional Information 060522 snapshot
Attached Files

- Relationships

- Notes
(0001240)
ferg
05-24-06 16:50

php/3612
 

- Issue History
Date Modified Username Field Change
05-22-06 13:18 koreth New Issue
05-24-06 16:50 ferg Note Added: 0001240
05-24-06 16:50 ferg Assigned To  => ferg
05-24-06 16:50 ferg Status new => closed
05-24-06 16:50 ferg Resolution open => fixed
05-24-06 16:50 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker