From a59197ab9f3a7be3afa5d086abd5973087fd7b71 Mon Sep 17 00:00:00 2001 From: David Tajchreber Date: Wed, 20 Apr 2011 13:58:29 +0000 Subject: [PATCH] Fixed #54574 - clarified that in_array uses loose comparison by default git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310392 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/in-array.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reference/array/functions/in-array.xml b/reference/array/functions/in-array.xml index f1fa4cd0b7..2914ff31aa 100644 --- a/reference/array/functions/in-array.xml +++ b/reference/array/functions/in-array.xml @@ -3,7 +3,7 @@ in_array - Checks if a value exists in an array + Checks if a value exists in an array using loose comparison if &reftitle.description; @@ -11,10 +11,11 @@ boolin_array mixedneedle arrayhaystack - boolstrict + boolstrict&false; - Searches haystack for needle. + Searches haystack for needle using loose comparison + unless strict is set.