From 3a511c49bd78dc4d36c35aadb89ac7e0c0899d9c Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Fri, 6 Nov 2020 14:51:48 +0000 Subject: [PATCH] Fix function name Provided by anonymous user git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351281 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.