mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
3c3f0529d3
commit
db1d2739db
1 changed files with 23 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue