From 635e2ad129cc7f55b27e32aa5a5e1e96832f404e Mon Sep 17 00:00:00 2001 From: Pasindu De Silva Date: Sat, 18 Jul 2015 16:40:30 +0000 Subject: [PATCH] Added Intial Return TypeError Doc & fix typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337189 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/language/functions.xml b/language/functions.xml index 02edcecf38..4372b1f62b 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -937,7 +937,7 @@ var_dump($dis->two()); - Return a class; + Return a class + + + TypeError + Incorrect return type will result in a TypeError + +getMessage()); // string(121) "Return value of show() must be of the type integer, + // string returned in %s on line 5" +} +?> +]]> + + +