diff --git a/language/control-structures/declare.xml b/language/control-structures/declare.xml index 4c6e2fd13c..f1f7948e4c 100644 --- a/language/control-structures/declare.xml +++ b/language/control-structures/declare.xml @@ -36,6 +36,25 @@ declare (directive) The encoding directive was added in PHP 5.3.0 + + As directives are handled as the file is being compiled, only literals may + be given as directive values. Variables and constants cannot be used. To + illustrate: + + + +]]> + + + The statement part of the declare block will be executed - how