php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #29191 throwing Exceptions instead of printing error messages
Submitted: 2004-07-15 23:39 UTC Modified: 2004-07-19 22:30 UTC
From: nospam0 at malkusch dot de Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nospam0 at malkusch dot de
New email:
PHP Version: OS:

 

 [2004-07-15 23:39 UTC] nospam0 at malkusch dot de
Description:
------------
It would be nice if the native methods would throw 
exceptions instead of printing error messages. It seems 
more consequent (and easier to handle) as PHP has 
exceptions. At least the native classes could do this. For 
compatibility reasons it can depend on 
zend.ze1_compatibility_mode or a new configuration 
directive. 
 
At the moment I have to wrap every method and class in 
order to work properly with exceptions. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-19 22:30 UTC] derick@php.net
This won't happen, please find reasons in the PHP Internals Archives.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC