|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3403 | crash | always | 03-20-09 14:13 | 03-20-09 18:13 | |
|
|
|||||
| Reporter: | chrislewis | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.1 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003403: crash with com.caucho.quercus.parser.QuercusParseException on certain integers | ||||
| Description: |
Certain number literals cause the parser to crash. <?php $i = '078051120'; //ok $i = (int)'078051120'; //ok $i = 078051120; //crash! ?> /src/main/webapp/crash.php:7: expected ';' at integer (8051120) in crash.php:6: $i = (int)'078051120'; crash.php:7: $i = 078051120; crash.php:8: echo $i; Notice that in the exception it has interpreted 078051120 as 8051120. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | 002281852, 042103580, 062360749 cause the same behavior | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||