Added declare change log

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337185 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Pasindu De Silva 2015-07-18 06:59:48 +00:00
parent 3c3f0529d3
commit db1d2739db

View file

@ -18,6 +18,7 @@ declare (directive)
</programlisting>
</informalexample>
</para>
<para>
The <literal>directive</literal> section allows the
behavior of the <literal>declare</literal> block to
@ -31,11 +32,28 @@ declare (directive)
<link linkend="control-structures.declare.encoding">encoding</link>
directive).
</para>
<note>
<simpara>
The encoding directive was added in PHP 5.3.0
</simpara>
</note>
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>Added encoding directive</entry>
</row>
<row>
<entry>7.0.0</entry>
<entry>Added strict_types directive</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
<para>
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