|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anselor at yahoo dot com
New email:
PHP Version: OS:


 [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-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 08 23:03:39 2023 UTC