diff options
Diffstat (limited to 'ext/standard/tests/strings/strcspn_variation11.phpt')
| -rw-r--r-- | ext/standard/tests/strings/strcspn_variation11.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/strings/strcspn_variation11.phpt b/ext/standard/tests/strings/strcspn_variation11.phpt index f970f6e3e9..96926564b0 100644 --- a/ext/standard/tests/strings/strcspn_variation11.phpt +++ b/ext/standard/tests/strings/strcspn_variation11.phpt @@ -4,7 +4,7 @@ Test strcspn() function : usage variations - with varying start and default len <?php /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) + If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) * Source code: ext/standard/string.c * Alias to functions: none */ @@ -61,7 +61,7 @@ $start_array = array( 2147483647, // max positive integer -2147483648, // min negative integer ); - + // loop through each element of the arrays for str,mask and start arguments $count = 1; |
