From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 5CVS-2003-03-26 (dev)
PHP Bug Type: Zend Engine 2 problem
Bug description: Error message for uncaught exception not very informative
The error message for uncaught exceptions is not very informative.
-------------8<----------------
Example:
$ cat exception.php
<?php
class dummy_exception {
}
throw new dummy_exception;
?>
$ php exception.php
Fatal error: Uncaught exception! in Unknown on line 0
Unknown(0) : Fatal error - Uncaught exception!
-------------8<----------------
It doesn't matter whether the throw statement is in a function/class or
not.
A few things which should be considered worth improving this message:
- in which file is it thrown ("Unknown" ?)
- on which line is it thrown ("0" ?)
--
Edit bug report at http://bugs.php.net/?id=22901&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22901&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22901&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22901&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22901&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22901&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22901&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22901&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22901&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22901&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22901&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22901&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22901&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22901&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22901&r=gnused