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
This commit is contained in:
Bob Weinand 2015-09-07 22:15:37 +00:00
parent e53aefe605
commit f11cc3162c

View file

@ -9,7 +9,7 @@
</para>
<para>
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.
</para>
<para>
It's also possible for interfaces to have <literal>constants</literal>. Look at