diff --git a/language/constants.xml b/language/constants.xml index 93657bf22f..5eab76d9df 100644 --- a/language/constants.xml +++ b/language/constants.xml @@ -75,7 +75,7 @@ define("__FOO__", "something"); only scalar data (boolean, integer, float and string) can be contained in constants prior to PHP 5.6. From PHP 5.6 onwards, it is possible to - define a constant as a scalar expression, and it is also possible + define a constant as a scalar expression, and from PHP 7 it is also possible to define an array constant. It is possible to define constants as a resource, but it should be avoided, as it can cause unexpected results.