summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/strspn_variation8.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/strspn_variation8.phpt')
-rw-r--r--ext/standard/tests/strings/strspn_variation8.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/strings/strspn_variation8.phpt b/ext/standard/tests/strings/strspn_variation8.phpt
index 3e9e9ddd8c..2e6a6cc3d9 100644
--- a/ext/standard/tests/strings/strspn_variation8.phpt
+++ b/ext/standard/tests/strings/strspn_variation8.phpt
@@ -4,7 +4,7 @@ Test strspn() function : usage variations - with heredoc strings, varying start
<?php
/* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
* Description: Finds length of initial segment consisting entirely of characters found in mask.
- If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
+ If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
* Source code: ext/standard/string.c
* Alias to functions: none
*/
@@ -81,7 +81,7 @@ $start_array = array(
2147483647, // max positive integer
-2147483648, // min negative integer
);
-
+
// defining array of different len values
$len_array = array(
0,
@@ -91,13 +91,13 @@ $len_array = array(
2147483647, // max positive integer
-2147483648, // min negative integer
);
-
+
// loop through each element of the array for heredoc str, mask str , start values and len values
$count = 1;
-foreach($heredoc_strings as $str) {
+foreach($heredoc_strings as $str) {
echo "\n-- Iteration $count --\n";
foreach($mask_array as $mask) {
foreach($start_array as $start) {
@@ -107,7 +107,7 @@ foreach($heredoc_strings as $str) {
}
}
$count++;
-};
+};
echo "Done"
?>