/PHP-5.5/ext/standard/tests/strings/ |
H A D | strncasecmp_variation11.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); 92 $len = strlen($values[$index]) + 1; 93 var_dump( strncasecmp("string", $str2, $len) );
|
H A D | strncasecmp_variation3.phpt | 5 /* 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 D | strncasecmp_variation4.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); 92 $len = strlen($values[$index]) + 1; 93 var_dump( strncasecmp($str1, $str2, $len) );
|
H A D | strncasecmp_variation5.phpt | 2 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 D | strncasecmp_variation6.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_variation9.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strncasecmp_basic.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncasecmp_error.phpt | 5 /* 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 D | strncasecmp_variation1.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncasecmp_variation10.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); 91 $len = strlen($values[$index]) + 1; 92 var_dump( strncasecmp($str1, "string", $len) );
|
H A D | strncasecmp_variation7.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncasecmp_variation8.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncasecmp_variation9.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_basic.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_error.phpt | 5 /* 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 D | strncmp_variation1.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_variation4.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len ); 92 $len = strlen($values[$index]) + 1; 93 var_dump( strncmp($str1, $str2, $len) );
|
H A D | strncmp_variation5.phpt | 5 /* 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 D | strncmp_variation6.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_variation7.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_variation8.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
H A D | strlen.phpt | 23 "\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 D | strcspn_variation7.phpt | 2 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 D | strcspn_variation8.phpt | 2 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 D | strcspn_variation9.phpt | 2 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 ***
|