svn: /phpdoc/en/trunk/language/ functions.xml
| From: | Christoph Michael Becker | Date: | Mon, 04 Apr 2016 16:36:51 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ functions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14093@lists.php.net to get a copy of this message | ||
cmb Mon, 04 Apr 2016 16:36:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338912
Log:
improved wording (suggested by anon user)
Changed paths:
U phpdoc/en/trunk/language/functions.xml
Modified: phpdoc/en/trunk/language/functions.xml
===================================================================
--- phpdoc/en/trunk/language/functions.xml 2016-04-04 16:14:46 UTC (rev 338911)
+++ phpdoc/en/trunk/language/functions.xml 2016-04-04 16:36:51 UTC (rev 338912)
@@ -366,7 +366,7 @@
</note>
<para>
- Type declarations allow functions to specify parameters as certain types.
+ Type declarations allow functions to require that parameters are of a certain type at call
time.
If the given value is of the incorrect type,
then an error is generated: in PHP 5, this will be a recoverable fatal
error, while PHP 7 will throw a <classname>TypeError</classname>