Re: Make try/catch brackets optinal
| From: | Lester Caine | Date: | Thu, 19 Jul 2012 12:30:09 +0000 |
| Subject: | Re: Make try/catch brackets optinal | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61479@lists.php.net to get a copy of this message | ||
Peter Beverloo wrote:
Other bracket-less blocks allow authors to shoot themselves in the foot equally so, yet PHP supports these as well. The actual problem here is an inconsistency in the parser, which I'd consider to be a bug.Having been caught out too many times now when adding an extra part to code there 99% of the blocks are correctly wrapped ... when I see code without the brackets they get added! The bug as far as I am concerned is NOT reporting them missing but just getting them displayed in eclipse would do me for now ;) -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk