Home
last modified time | relevance | path

Searched refs:len (Results 126 – 150 of 496) sorted by last modified time

12345678910>>...20

/PHP-5.5/ext/standard/tests/strings/
H A Dstrncasecmp_variation11.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
92 $len = strlen($values[$index]) + 1;
93 var_dump( strncasecmp("string", $str2, $len) );
H A Dstrncasecmp_variation3.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
18 for($len = strlen($str1); $len >= 0; $len--) {
19 var_dump( strncasecmp($str1, $str2, $len) );
H A Dstrncasecmp_variation4.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
92 $len = strlen($values[$index]) + 1;
93 var_dump( strncasecmp($str1, $str2, $len) );
H A Dstrncasecmp_variation5.phpt2 Test strncasecmp() function : usage variations - unexpected values for 'len'
5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
12 echo "*** Test strncasecmp() function: unexpected values for 'len' ***\n";
86 $len = $lengths[$index];
88 var_dump( strncasecmp($str1, $str2, $len) );
96 *** Test strncasecmp() function: unexpected values for 'len' ***
H A Dstrncasecmp_variation6.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation9.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_basic.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_error.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
13 $len = 10;
24 var_dump( strncasecmp($str1, $str2, $len, $extra_arg) );
27 $len = -10;
28 var_dump( strncasecmp($str1, $str2, $len) );
H A Dstrncasecmp_variation1.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_variation10.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
91 $len = strlen($values[$index]) + 1;
92 var_dump( strncasecmp($str1, "string", $len) );
H A Dstrncasecmp_variation7.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_variation8.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_variation9.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncmp_basic.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncmp_error.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
15 $len = 10;
21 var_dump( strncmp($str1, $str2, $len, $extra_arg) ); //Four arguments, greater than expected no. o…
23 /* Invalid argument for $len */
24 $len = -10;
25 var_dump( strncmp($str1, $str2, $len) );
H A Dstrncmp_variation1.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation4.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
92 $len = strlen($values[$index]) + 1;
93 var_dump( strncmp($str1, $str2, $len) );
H A Dstrncmp_variation5.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
12 echo "*** Test strncmp() function: by supplying all types for 'len' ***\n";
90 $len = $lengths[$index];
92 var_dump( strncmp($str1, $str2, $len) );
100 *** Test strncmp() function: by supplying all types for 'len' ***
H A Dstrncmp_variation6.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation7.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation8.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrlen.phpt23 "\x000", // len = 2
24 "\xABC", // len = 2
25 "\0000", // len = 2
28 "\t", // len = 1
29 '\t', // len = 2
135 var_dump(strlen(10.55555555555555555555555555)); // len = 13
136 var_dump(strlen(10.55555555595555555555555555)); // len = 12
139 var_dump(strlen(strlen("Hello"))); // len=1
H A Dstrcspn_variation7.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying start and default len ar…
5 /* Prototype : proto int strcspn(string str, string mask [, int start [,int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
13 * Testing strcspn() : with heredoc string, varying start and default len arguments
98 var_dump( strcspn($str,$mask,$start) ); // with default len value
H A Dstrcspn_variation8.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying start and len args
5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
13 * Testing strcspn() : with heredoc string, varying start and len arguments
16 echo "*** Testing strcspn() : with different start and len values ***\n";
84 // defining array of len values
102 foreach($len_array as $len) {
103 var_dump( strcspn($str,$mask,$start,$len) );
113 *** Testing strcspn() : with different start and len values ***
H A Dstrcspn_variation9.phpt2 Test strcspn() function : usage variations - different strings with default start and len args
5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
13 * Testing strcspn() : with different strings as str argument and default start and len args
16 echo "*** Testing strcspn() : with different str and default start and len args ***\n";
56 *** Testing strcspn() : with different str and default start and len args ***

Completed in 42 milliseconds

12345678910>>...20