diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 17:23:43 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:44:14 +0200 |
| commit | 17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch) | |
| tree | 8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/standard/tests/array/array_diff_variation5.phpt | |
| parent | cc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff) | |
| download | php-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz | |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/array/array_diff_variation5.phpt')
| -rw-r--r-- | ext/standard/tests/array/array_diff_variation5.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/array/array_diff_variation5.phpt b/ext/standard/tests/array/array_diff_variation5.phpt index cb6b5d3dab..d9e97f5606 100644 --- a/ext/standard/tests/array/array_diff_variation5.phpt +++ b/ext/standard/tests/array/array_diff_variation5.phpt @@ -1,11 +1,11 @@ --TEST-- -Test array_diff() function : usage variations - comparing integers, float +Test array_diff() function : usage variations - comparing integers, float and string array values --FILE-- <?php /* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. + * Description: Returns the entries of $arr1 that have values which are not + * present in any of the others arguments. * Source code: ext/standard/array.c */ @@ -18,7 +18,7 @@ echo "*** Testing array_diff() : usage variations ***\n"; $arr_int = array(1, 2, 3); $arr_float = array(1.00, 2.00, 3.00); $arr_int_str = array('1', '2', '3'); -$arr_float_str = array('1.00', '2.00', '3.00'); +$arr_float_str = array('1.00', '2.00', '3.00'); print "-- Compare integers and floats: --\n"; var_dump(array_diff($arr_int, $arr_float)); |
