|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 1120 | minor | always | 05-17-06 15:08 | 05-19-06 13:01 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.0.20 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||