summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_diff_assoc_variation3.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_diff_assoc_variation3.phpt')
-rw-r--r--ext/standard/tests/array/array_diff_assoc_variation3.phpt20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/standard/tests/array/array_diff_assoc_variation3.phpt b/ext/standard/tests/array/array_diff_assoc_variation3.phpt
index 1d4aaf2e43..36d31b078b 100644
--- a/ext/standard/tests/array/array_diff_assoc_variation3.phpt
+++ b/ext/standard/tests/array/array_diff_assoc_variation3.phpt
@@ -3,15 +3,15 @@ Test array_diff_assoc() function : variation - array containing different data t
--FILE--
<?php
/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...])
- * Description: Returns the entries of arr1 that have values which are not present
- * in any of the others arguments but do additional checks whether the keys are equal
- * Source code: ext/standard/array.c
+ * Description: Returns the entries of arr1 that have values which are not present
+ * in any of the others arguments but do additional checks whether the keys are equal
+ * Source code: ext/standard/array.c
*/
/*
* Test how array_diff_assoc() compares indexed arrays containing different data types
*/
-
+
echo "\n*** Testing array_diff_assoc() : usage variations ***\n";
$array = array(1, 2, 3);
@@ -33,12 +33,12 @@ $heredoc = <<<EOT
hello world
EOT;
-//array of different data types to be passed to $arr1 argument
+//array of different data types to be passed to $arr1 argument
$inputs = array(
// int data
/*1*/
-'int' => array(
+'int' => array(
0,
1,
12345,
@@ -46,7 +46,7 @@ $inputs = array(
// float data
/*2*/
-'float' => array(
+'float' => array(
10.5,
-10.5,
12.3456789000e10,
@@ -66,7 +66,7 @@ $inputs = array(
false,
TRUE,
FALSE),
-
+
// empty data
/*5*/
'empty' => array(
@@ -79,13 +79,13 @@ $inputs = array(
"string",
'string',
$heredoc),
-
+
// binary data
/*7*/
'binary' => array(
b"binary",
(binary)"binary"),
-
+
// object data
/*8*/
'object' => array(