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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 May 16 06:01:31 2024 UTC