From aaeb51d9192b3857567c4bc032616e4c85d962e9 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sat, 16 Jun 2018 12:20:45 +0000 Subject: [PATCH] Exception implements Throwable While this is only the case as of PHP 7.0.0, we nonetheless make it the default, and change the note regarding the former state. Based on a patch provided by Artem Ostretsov. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345149 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/exception.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/language/predefined/exception.xml b/language/predefined/exception.xml index bd8406e687..456151425a 100644 --- a/language/predefined/exception.xml +++ b/language/predefined/exception.xml @@ -20,7 +20,7 @@ 7. - In PHP 7, Exception implements the + Before PHP 7, Exception did not implement the Throwable interface. @@ -38,6 +38,11 @@ Exception + + + implements + Throwable +