From a4b867055a59e23909d49dd97c5eead7092a7a47 Mon Sep 17 00:00:00 2001 From: Sebastian Nohn Date: Tue, 30 Jul 2002 21:11:51 +0000 Subject: [PATCH] Fixing bug #18649 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@90461 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-diff.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/array/functions/array-diff.xml b/reference/array/functions/array-diff.xml index 68e54d72bf..ea924525a1 100644 --- a/reference/array/functions/array-diff.xml +++ b/reference/array/functions/array-diff.xml @@ -1,5 +1,5 @@ - + @@ -45,6 +45,13 @@ $result = array_diff ($array1, $array2); + + + Please note that this function only checks one dimension of a n-dimensional + array. Of course you can check deeper dimensions by using + array_diff($array1[0], $array2[0]);. + + This was broken in PHP 4.0.4!