| Anonymous | Login | Signup for a new account | 11-05-2025 09:28 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001120 | [Quercus] | minor | always | 05-17-06 15:08 | 05-19-06 13:01 | ||||
| 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 | 0001120: "try" keyword causes parse failure | ||||||||
| Description |
This is really "Need PHP5 exceptions" but even without full exception support, the parser could ignore try/catch blocks. Right now if I have: <?php try { print "hello"; } catch (Exception $e) { print "oops"; } ?> I get: /Users/sgrimm/resin/resin/webapps/test/test.php:2: expected '}' at ';' in test.php:1: <?php test.php:2: try { print "hello"; } test.php:3: catch (Exception $e) { print "oops"; } |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |