#29191 [NEW]: throwing Exceptions instead of printing error messages
From: nospam0 at malkusch dot de
Operating system: *
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: throwing Exceptions instead of printing error messages
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.
--
Edit bug report at http://bugs.php.net/?id=29191&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29191&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29191&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29191&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29191&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29191&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29191&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29191&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29191&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29191&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29191&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29191&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29191&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29191&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29191&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29191&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29191&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29191&r=float
Thread (2 messages)
- nospam0 at malkusch dot de