Anonymous | Login | Signup for a new account | 12-17-2024 08:33 PST |
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 | ||||
0003403 | [Quercus] | crash | always | 03-20-09 14:13 | 03-20-09 18:13 | ||||
Reporter | chrislewis | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.2.1 | ||||||
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. |
||||||||
Additional Information | 002281852, 042103580, 062360749 cause the same behavior | ||||||||
Attached Files | |||||||||
|
Notes | |
(0003913) nam 03-20-09 18:13 |
php/0122 Fixed. '$i = 078051120' is an octal integer and PHP will ignore any invalid octal digits. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |