diff --git a/language/constants.xml b/language/constants.xml index 61bc59dc7e..cd24f77bfd 100644 --- a/language/constants.xml +++ b/language/constants.xml @@ -1,5 +1,5 @@ - + Constants @@ -70,8 +70,9 @@ define("__FOO__", "something"); Only scalar data (boolean, integer, float and string) can be contained - in constants. - Do not define resource constants. + in constants. Its possible to register constants as + resource, but it should be avoided, as it can cause + unexpected results. You can get the value of a constant by simply specifying its name.