diff --git a/language/operators.xml b/language/operators.xml
index 7bac870e1d..6b0d910137 100644
--- a/language/operators.xml
+++ b/language/operators.xml
@@ -1828,7 +1828,7 @@ echo $foo ?? $bar ?? $baz ?? $qux; // outputs 1
Any error message generated by the expression is available in the "message"
- element of the array returned by get_error_last.
+ element of the array returned by error_get_last.
The result of that function will change on each error, so it needs to be checked early.