summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/in_array_variation2.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:23:43 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:44:14 +0200
commit17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch)
tree8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/standard/tests/array/in_array_variation2.phpt
parentcc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff)
downloadphp-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/array/in_array_variation2.phpt')
-rw-r--r--ext/standard/tests/array/in_array_variation2.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/in_array_variation2.phpt b/ext/standard/tests/array/in_array_variation2.phpt
index ee1267f4e2..a394b6035e 100644
--- a/ext/standard/tests/array/in_array_variation2.phpt
+++ b/ext/standard/tests/array/in_array_variation2.phpt
@@ -4,7 +4,7 @@ Test in_array() function : usage variations - different haystack values
<?php
/*
* Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
- * Description: Searches haystack for needle and returns TRUE
+ * Description: Searches haystack for needle and returns TRUE
* if it is found in the array, FALSE otherwise.
* Source Code: ext/standard/array.c
*/
@@ -16,10 +16,10 @@ $misc_array = array (
'a',
'key' =>'d',
3,
- ".001" =>-67,
+ ".001" =>-67,
"-.051" =>"k",
0.091 =>"-.08",
- "e" =>"5",
+ "e" =>"5",
"y" =>NULL,
NULL =>"",
0,
@@ -39,11 +39,11 @@ $counter = 1;
foreach($array_type as $type) {
echo "-- Iteration $counter --\n";
//loose type checking
- var_dump( in_array($type,$misc_array ) );
+ var_dump( in_array($type,$misc_array ) );
//strict type checking
- var_dump( in_array($type,$misc_array,true) );
+ var_dump( in_array($type,$misc_array,true) );
//loose type checking
- var_dump( in_array($type,$misc_array,false) );
+ var_dump( in_array($type,$misc_array,false) );
$counter++;
}