diff --git a/language/functions.xml b/language/functions.xml
index 73c1a19dfe..b193f901c3 100644
--- a/language/functions.xml
+++ b/language/functions.xml
@@ -1014,6 +1014,12 @@ $newref =& returns_reference();
correct type, otherwise a TypeError will be thrown.
+
+ As of PHP 7.1.0, return values can be marked as nullable by prefixing the
+ type name with a question mark (?). This signifies that
+ the function returns either the specified type or &null;.
+
+
When overriding a parent method, the child's method must match any return
@@ -1100,6 +1106,23 @@ object(C)#1 (0) {
]]>
+
+
+ Nullable return type declaration (as of PHP 7.1.0)
+
+
+]]>
+
+