| Anonymous | Login | Signup for a new account | 10-23-2025 20:15 PDT |
| 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 | ||||
| 0003668 | [Quercus] | major | always | 09-03-09 03:12 | 09-10-09 12:38 | ||||
| Reporter | kenfoo | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 4.0.0 | ||||||
| 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. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |