php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6136 Exception Handling
Submitted: 2000-08-13 10:21 UTC Modified: 2002-01-06 09:23 UTC
From: s dot busch at billiton dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (13/08/2000) OS: linux
Private report: No CVE-ID: None
 [2000-08-13 10:21 UTC] s dot busch at billiton dot de
Error handling: please please please add exception handling (some sort of "try ... catch ... finally" as implemented in Java, C++, Delphi, ...) to PHP.

It is simply annoying to check function results for errors and to do error handling in if-statements.

Especially for the new MySQL-transactions such an exception-handling would be great.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-06 09:23 UTC] jan@php.net
this will come with ZendEngine2 (PHP5). closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 15:01:30 2024 UTC