From 98a2748836e80225a5c07ac4617950da529456d1 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Thu, 29 Sep 2016 10:38:05 +0000 Subject: [PATCH] Fix #66079: Exception constructor might ignore default arguments when overriden git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340256 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/exception/construct.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/language/predefined/exception/construct.xml b/language/predefined/exception/construct.xml index 1187b059d0..6a2acd9e39 100644 --- a/language/predefined/exception/construct.xml +++ b/language/predefined/exception/construct.xml @@ -50,6 +50,12 @@ + + + Calling the constructor of class Exception from a subclass ignores the + default arguments, if the properties $code and $message are already set. + +