From:             anselor at yahoo dot com
Operating system: Linux
PHP version:      5CVS-2004-02-25 (dev)
PHP Bug Type:     Unknown/Other Function
Bug description:  typo in Fatal Error message

Description:
------------
The new error message for throwing a class that doesn't extend Exception
has a typo.



The message i got was:

Fatal error: Exceptions must valid objects that are derived from class
Exception in /home/anselor/var/www-data/htdocs/exceptiontest.phtml on line
20



Perhaps it should be something more like:

Fatal error: Exceptions must BE valid objects that are derived from class
Exception in /home/anselor/var/www-data/htdocs/exceptiontest.phtml on line
20



Very very very minor issue, just thought I'd let you know.


-- 
Edit bug report at http://bugs.php.net/?id=27391&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27391&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27391&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27391&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27391&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27391&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27391&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27391&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27391&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27391&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27391&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27391&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27391&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27391&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27391&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27391&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27391&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27391&r=float

Reply via email to