|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27391 typo in Fatal Error message
Submitted: 2004-02-25 05:31 UTC Modified: 2004-02-25 05:36 UTC
From: anselor at yahoo dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5CVS-2004-02-25 (dev) OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 - 34 = ?
Subscribe to this entry?

 [2004-02-25 05:31 UTC] anselor at yahoo dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-25 05:36 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 17:01:31 2024 UTC