|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3668 | major | always | 09-03-09 03:12 | 09-10-09 12:38 | |
|
|
|||||
| Reporter: | kenfoo | 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.2 | ||
|
|
|||||
| Summary: | 0003668: QuercusParseException - missing semicolon within a scriptlet <?php ... ?> tag. | ||||
| Description: |
The following PHP code fails to parse under Quercus. <?php if (empty($GLOBALS[$var]) OR ! is_array($GLOBALS[$var])) continue ?> I got this error: Exception [ 0 ]: com.caucho.quercus.parser.QuercusParseException: C:\resin4\webapps\quercus\kohana3\system\views\kohana\error.php:115: (token 575) is an unexpected token, expected an expression. in C:\resin4\webapps\quercus\kohana3\system\views\kohana\error.php:114: C:\resin4\webapps\quercus\kohana3\system\views\kohana\error.php:115: ~ Env.java [ 4882 ] Placing a semicolon end the end of the "continue" keyword works fine i.e. <?php if (empty($GLOBALS[$var]) OR ! is_array($GLOBALS[$var])) continue; ?> Standard PHP seems to parse the one without semicolon correctly. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||