diff --git a/language/control-structures/declare.xml b/language/control-structures/declare.xml index f1f7948e4c..4a85c8f9f3 100644 --- a/language/control-structures/declare.xml +++ b/language/control-structures/declare.xml @@ -18,6 +18,7 @@ declare (directive) + The directive section allows the behavior of the declare block to @@ -31,11 +32,28 @@ declare (directive) encoding directive). - - - The encoding directive was added in PHP 5.3.0 - - + + + + + + &Version; + &Description; + + + + + 5.3.0 + Added encoding directive + + + 7.0.0 + Added strict_types directive + + + + + 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