From f11cc3162cfe3307657c5886316f0278c7edbc7b Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 7 Sep 2015 22:15:37 +0000 Subject: [PATCH] As noted below, constants can be result of a mathematical expression with PHP 5.6. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337777 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/constants.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/oop5/constants.xml b/language/oop5/constants.xml index 3102b1748c..11659850d9 100644 --- a/language/oop5/constants.xml +++ b/language/oop5/constants.xml @@ -9,7 +9,7 @@ The value must be a constant expression, not (for example) a variable, a - property, a result of a mathematical operation, or a function call. + property, or a function call. It's also possible for interfaces to have constants. Look at