From fe00568fc57e4bba57a7e0f51609a2be64dcafcc Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Thu, 21 Sep 2017 10:47:02 +0000 Subject: [PATCH] Properly refer to the value, not the type git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343122 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/current.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/array/functions/current.xml b/reference/array/functions/current.xml index 60a34a2f5e..283fd96671 100644 --- a/reference/array/functions/current.xml +++ b/reference/array/functions/current.xml @@ -109,7 +109,7 @@ var_dump(current($arr)); // array(0) { } To still use current and properly check if the value is really an element of the array, the key of the current element should be checked to be strictly - different from null. + different from &null;.