/PHP-5.5/ext/standard/tests/strings/ |
H A D | strcspn_variation11.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 66 // loop through each element of the arrays for str,mask and start arguments 68 foreach($strings as $str) { 72 var_dump( strcspn($str,$mask,$start) );
|
H A D | strcspn_variation12.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) 65 // loop through each element of the arrays for str,mask,start and len arguments 68 foreach($strings as $str) { 73 var_dump( strcspn($str,$mask,$start,$len) );
|
H A D | strcspn_variation2.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 20 $str = 'string_val'; 94 var_dump( strcspn($str,$value) ); // with defalut args 95 var_dump( strcspn($str,$value,$start) ); // with default len value 96 var_dump( strcspn($str,$value,$start,$len) ); // with all args
|
H A D | strcspn_variation3.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) 21 $str = 'string_val'; 92 var_dump( strcspn($str,$mask,$value) ); // with default len value 93 var_dump( strcspn($str,$mask,$value,$len) ); // with all args
|
H A D | strcspn_variation4.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 21 $str = 'string_val'; 92 var_dump( strcspn($str,$mask,$start,$value) ); // with all args
|
H A D | strcspn_variation6.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) 81 foreach($heredoc_strings as $str) { 84 var_dump( strcspn($str,$mask) ); // with default start and len value
|
H A D | sscanf_basic1.phpt | 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 16 $str = "Part: Widget Serial Number: 1234789 Stock: 25"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock);
|
H A D | sscanf_basic2.phpt | 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 16 $str = "Part: Widget Serial Number: 1234789 Stock: 25"; 21 list($part, $number, $stock) = sscanf($str, $format); 26 $res = sscanf($str, $format, $part, $number, $stock);
|
H A D | sscanf_basic4.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "X = A + B - C"; 18 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4);
|
H A D | sscanf_basic5.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "10.12345 10.12345E3 10.12345e3 -10.12345e4" ; 19 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format1); 21 list($arg1, $arg2, $arg3, $arg4) = sscanf($str, $format2); 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4); 28 $res = sscanf($str, $format2,$arg1, $arg2, $arg3, $arg4);
|
H A D | sscanf_basic6.phpt | 12 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 19 $str = "-11 +11 11 -11.234 +11.234 11.234"; 24 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 29 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_basic7.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "0123 -0123 +0123 0129 -0129 +0129"; 18 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format); 23 $res = sscanf($str, $format, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_basic8.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "129 12F 123B -123B 01ABC 1G"; 19 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format1); 21 list($arg1, $arg2, $arg3, $arg4, $arg5, $arg6) = sscanf($str, $format2); 26 $res = sscanf($str, $format1, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6); 28 $res = sscanf($str, $format2, $arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
|
H A D | sscanf_error.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 12 $str = "Hello World"; 19 var_dump( sscanf($str) ); 23 var_dump( sscanf($str, $format, $str1, $str2, $extra_str) );
|
H A D | sscanf_basic3.phpt | 6 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 13 $str = "Part: Widget Length: 111.53 Width: 22.345 Depth: 12.4"; 18 list($part, $length, $width, $depth) = sscanf($str, $format); 23 $res = sscanf($str, $format, $part, $length, $width, $depth);
|
H A D | sscanf_variation1.phpt | 2 Test sscanf() function : usage variations - unexpected inputs for '$str' argument 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 10 echo "*** Testing sscanf() function: with unexpected inputs for 'str' argument ***\n"; 85 *** Testing sscanf() function: with unexpected inputs for 'str' argument ***
|
H A D | sscanf_variation2.phpt | 5 /* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) 70 $str = "Hello World"; 76 var_dump( sscanf($str, $input) );
|
H A D | quoted_printable_decode_basic.phpt | 5 /* Prototype : string quoted_printable_decode ( string $str ) 12 $str = "=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A= 18 var_dump(bin2hex(quoted_printable_decode($str)));
|
H A D | rtrim_basic.phpt | 6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
|
H A D | rtrim_error.phpt | 6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
|
H A D | rtrim_variation1.phpt | 2 Test rtrim() function : usage variations - test values for $str argument 6 /* Prototype : string rtrim ( string $str [, string $charlist ] ) 11 echo "*** Testing rtrim() function: with unexpected inputs for 'str' argument ***\n"; 85 *** Testing rtrim() function: with unexpected inputs for 'str' argument ***
|
H A D | rtrim_variation2.phpt | 6 /* Prototype : string rtrim ( string $str [, string $charlist ] )
|
H A D | soundex.phpt | 28 foreach ($array as $str) { 29 var_dump(soundex($str));
|
H A D | soundex_basic.phpt | 5 /* Prototype : string soundex ( string $str )
|
H A D | soundex_error.phpt | 5 /* Prototype : string soundex ( string $str ) 16 $str = "Euler"; 18 var_dump( soundex( $str, $extra_arg) );
|