From 38d634a6b5e3ac34076fe9053a0d1fc042772aa3 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sun, 8 Jan 2017 16:25:08 +0000 Subject: [PATCH] Fix #66894: Taking old-style-constructor instead of unified one git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341633 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/decon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml index 9021d4ef43..f85effc5ae 100644 --- a/language/oop5/decon.xml +++ b/language/oop5/decon.xml @@ -64,7 +64,7 @@ $obj = new OtherSubClass(); For backwards compatibility with PHP 3 and 4, if PHP cannot find a __construct() function for a given - class, and the class did not inherit one from a parent class, it will + class, it will search for the old-style constructor function, by the name of the class. Effectively, it means that the only case that would have compatibility issues is if the class had a method named