From db1d2739db7c8117357ab9041c0cdffbab6aba0c Mon Sep 17 00:00:00 2001 From: Pasindu De Silva Date: Sat, 18 Jul 2015 06:59:48 +0000 Subject: [PATCH] Added declare change log git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337185 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures/declare.xml | 28 ++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) 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