php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50752 Exception documentation needs clarification
Submitted: 2010-01-14 15:04 UTC Modified: 2010-01-14 15:34 UTC
From: thiago@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2010-01-14 15:04 UTC] thiago@php.net
Description:
------------
Follows relevant user note:

As expected, PHP does not allow throwing objects of classes not 
descended from Exception. The following fatal error is logged: 

Exceptions must be valid objects derived from the Exception base class

Fair enough, too.

14-Jan-2010 01:29 at.light@notspam.live.com.au
Note id: 95656


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-14 15:34 UTC] svn@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=293547
Log: Fixes PHP bug #50752 (Exception documentation needs clarification)
 [2010-01-14 15:34 UTC] degeberg@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 04:00:01 2026 UTC