summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_diff_ukey_variation5.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_diff_ukey_variation5.phpt')
-rw-r--r--ext/standard/tests/array/array_diff_ukey_variation5.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/array_diff_ukey_variation5.phpt b/ext/standard/tests/array/array_diff_ukey_variation5.phpt
index fb0c97af09..8f96ad6f40 100644
--- a/ext/standard/tests/array/array_diff_ukey_variation5.phpt
+++ b/ext/standard/tests/array/array_diff_ukey_variation5.phpt
@@ -3,7 +3,7 @@ Test array_diff_ukey() function : usage variation - Passing multi-dimensional ar
--FILE--
<?php
/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
- * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. User supplied function is used for comparing the keys. This function is like array_udiff() but works on the keys instead of the values. The associativity is preserved.
+ * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. User supplied function is used for comparing the keys. This function is like array_udiff() but works on the keys instead of the values. The associativity is preserved.
* Source code: ext/standard/array.c
*/
@@ -13,19 +13,19 @@ echo "*** Testing array_diff_ukey() : usage variation ***\n";
$array1 = array(
'first' => array('blue' => 1, 'red' => 2),
-
+
'second' => array('yellow' => 7),
-
+
'third' => array(0 => 'zero'),
);
$array2 = array (
'first' => array('blue' => 1, 'red' => 2,),
-
+
'second' => array('cyan' => 8),
-
- 'fourth' => array(2 => 'two'),
+
+ 'fourth' => array(2 => 'two'),
);
echo "\n-- Testing array_diff_ukey() function with multi dimensional array --\n";