svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml
| From: | Adam Harvey | Date: | Sun, 09 Aug 2015 01:17:12 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13552@lists.php.net to get a copy of this message | ||
aharvey Sun, 09 Aug 2015 01:17:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337369
Log:
Use the new declare entity.
Changed paths:
U phpdoc/en/trunk/appendices/migration70/new-features.xml
Modified: phpdoc/en/trunk/appendices/migration70/new-features.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-08-09 01:17:08 UTC (rev 337368)
+++ phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-08-09 01:17:12 UTC (rev 337369)
@@ -40,10 +40,10 @@
</informalexample>
<para>
- To enable strict mode, a single <function>declare</function> directive must
- be placed at the top of the file. This means that the strictness of typing
- for scalars is configured on a per-file basis. This directive not only affects
- the type declarations of parameters, but also a function's return type (see
+ To enable strict mode, a single &declare; directive must be placed at the
+ top of the file. This means that the strictness of typing for scalars is
+ configured on a per-file basis. This directive not only affects the type
+ declarations of parameters, but also a function's return type (see
<link linkend="functions.returning-values.type-declaration">return type
declarations</link>,
built-in PHP functions, and functions from loaded
extensions.