diff options
Diffstat (limited to 'ext/standard/tests/strings/strcspn_variation12.phpt')
| -rw-r--r-- | ext/standard/tests/strings/strcspn_variation12.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/strings/strcspn_variation12.phpt b/ext/standard/tests/strings/strcspn_variation12.phpt index f187788d94..55b6b6e2e2 100644 --- a/ext/standard/tests/strings/strcspn_variation12.phpt +++ b/ext/standard/tests/strings/strcspn_variation12.phpt @@ -4,7 +4,7 @@ Test strcspn() function : usage variations - with varying start and len args <?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 */ @@ -50,7 +50,7 @@ $start_array = array( 2147483647, // max positive integer -2147483648 // min negative integer ); - + //defining array of len values $len_array = array( 0, @@ -60,7 +60,7 @@ $len_array = array( 2147483647, // max positive integer -2147483648 // min negative integer ); - + // loop through each element of the arrays for str,mask,start and len arguments |
