From ee713929a5a070cfd6a21ac84b80cd1b9fbcc008 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 31 Aug 2020 11:18:06 +0000 Subject: [PATCH] Fix #70702: Documentation missing to explain unexpected optimisation behaviour git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350429 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/basic.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index 86d06e4290..3c320de5d2 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -270,6 +270,13 @@ echo (new DateTime())->format('Y'); ]]> + + + + Prior to PHP 7.1, the arguments are not evaluated if there is no constructor + function defined. + +