mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
improved wording (suggested by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338912 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cdab70215c
commit
dcafd6ef3d
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ Making a bowl of acidophilus raspberry.
|
|||
</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>
|
||||
|
|
Loading…
Reference in a new issue