Doc #75865 [Ver->Csd]: Extending exceptions has not been updated with Throwable
| From: | vrana@php.net | Date: | Sun, 28 Jan 2018 13:20:36 +0000 |
| Subject: | Doc #75865 [Ver->Csd]: Extending exceptions has not been updated with Throwable | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15370@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75865&edit=1
ID: 75865
Updated by: vrana@php.net
Reported by: misc at youngish dot org
Summary: Extending exceptions has not been updated with
Throwable
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Scripting Engine problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: vrana
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2018-01-28 13:20:01] vrana@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=344005
Log: Document that Exception extends Throwable (fix #75865)
------------------------------------------------------------------------
[2018-01-24 08:32:37] requinix@php.net
Literally the only difference is adding "implements Throwable" into the definition, and
that doesn't affect how to extend the class.
------------------------------------------------------------------------
[2018-01-23 22:56:47] misc at youngish dot org
Description:
------------
The documentation here:
http://php.net/manual/en/language.exceptions.extending.php
Provides an old version of the Exception base class which does not implement the Throwable
interface. As such its guidance is poor for new PHP code.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75865&edit=1