Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed   Product 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"; }
Additional Information
Attached Files

- Relationships

- Notes
(0001154)
ferg
05-19-06 13:01

php/0g0-, php/3g0-
 

- Issue History
Date Modified Username Field Change
05-17-06 15:08 koreth New Issue
05-19-06 13:01 ferg Note Added: 0001154
05-19-06 13:01 ferg Assigned To  => ferg
05-19-06 13:01 ferg Status new => closed
05-19-06 13:01 ferg Resolution open => fixed
05-19-06 13:01 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker