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"
+}
+?>
+]]>
+
+
+