summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/in_array_variation2.phpt
diff options
context:
space:
mode:
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++;
}