From dcafd6ef3d94c77eee1173d22f2bcad56e7c1a44 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 4 Apr 2016 16:36:51 +0000 Subject: [PATCH] improved wording (suggested by anon user) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338912 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/functions.xml b/language/functions.xml index 8f39f34cc0..adc92cfc55 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -366,7 +366,7 @@ Making a bowl of acidophilus raspberry. - 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 TypeError