|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 12:01:29 2024 UTC