Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 56) sorted by relevance

123

/PHP-5.4/ext/standard/tests/strings/
H A Dstrcspn_variation2.phpt107 -- Iteration with mask value as "0" --
112 -- Iteration with mask value as "1" --
207 -- Iteration with mask value as "" --
212 -- Iteration with mask value as "" --
217 -- Iteration with mask value as "1" --
222 -- Iteration with mask value as "" --
232 -- Iteration with mask value as "" --
237 -- Iteration with mask value as "" --
242 -- Iteration with mask value as "" --
252 -- Iteration with mask value as "" --
[all …]
H A Dstrspn_variation2.phpt107 -- Iteration with mask value as "0" --
112 -- Iteration with mask value as "1" --
207 -- Iteration with mask value as "" --
212 -- Iteration with mask value as "" --
217 -- Iteration with mask value as "1" --
222 -- Iteration with mask value as "" --
232 -- Iteration with mask value as "" --
237 -- Iteration with mask value as "" --
242 -- Iteration with mask value as "" --
252 -- Iteration with mask value as "" --
[all …]
H A Dstrcspn_basic.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
21 $mask = "es";
26 var_dump( strcspn($str, $mask, $start, $len) );
29 var_dump( strcspn($str, $mask, $start) );
32 var_dump( strcspn($str, $mask) );
H A Dstrcspn_variation6.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and…
5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
13 * Testing strcspn() : with heredoc string, varying mask and default start and len arguments
16 echo "*** Testing strcspn() : with different mask strings ***\n";
63 // defining array of mask strings
78 // loop through each element of the arrays for string and mask arguments
83 foreach($mask_array as $mask) {
84 var_dump( strcspn($str,$mask) ); // with default start and len value
92 *** Testing strcspn() : with different mask strings ***
H A Dstrspn_basic.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
21 $mask = "htes ";
26 var_dump( strspn($str, $mask, $start, $len) );
29 var_dump( strspn($str, $mask, $start) );
32 var_dump( strspn($str, $mask) );
H A Dstrspn_variation6.phpt2 Test strspn() function : usage variations - with heredoc strings, varying mask & default start and …
5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
13 * Testing strspn() : with heredoc string, varying mask and default start and len arguments
16 echo "*** Testing strspn() : with different mask strings ***\n";
64 // defining array of different mask strings
79 // loop through each element of the array for different heredoc and mask strings
85 foreach($mask_array as $mask) {
86 var_dump( strspn($str,$mask) ); // with default start and len value
94 *** Testing strspn() : with different mask strings ***
H A Dstrcspn_variation10.phpt2 Test strcspn() function : usage variations - with varying mask & default start and len args
5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
13 * Testing strcspn() : with varying mask and default start and len arguments
16 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n…
39 // defining array of mask strings
54 // loop through each element of the array for mask argument
58 foreach($mask_array as $mask) {
59 var_dump( strcspn($str,$mask) );
67 *** Testing strcspn() : with different mask strings and default start and len arguments ***
H A Dstrspn_variation10.phpt2 Test strspn() function : usage variations - with varying mask & default start and len args
5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
13 * Testing strspn() : with varying mask and default start and len arguments
16 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n";
40 // define the array of mask strings
55 // loop through each element of the array for mask argument
60 foreach($mask_array as $mask) {
61 var_dump( strspn($str,$mask) );
69 *** Testing strspn() : with different mask strings and default start and len arguments ***
H A Dstrcspn_error.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
25 $mask = 'string_val';
31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrspn_error.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
25 $mask = 'string_val';
31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrcspn_variation5.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
63 $mask = "fth12\ne67890\0\xaa\100o";
70 var_dump( strcspn($str,$mask) ); // with default start and len values
H A Dstrspn_variation5.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
63 $mask = "sfth12\ne34l567890\0\xaa\100o";
70 var_dump( strspn($str,$mask) ); // with default start and len values
H A Dstrcspn_variation9.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
41 $mask = "sft\n34lw56r78d90\0\xaa\100o";
50 var_dump( strcspn($str,$mask) );
H A Dstrspn_variation9.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
41 $mask = "sfth12\ne34lw56r78d90\0\xaa\100o";
50 var_dump( strspn($str,$mask) );
H A Dstrspn_variation1.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
21 $mask = 'abons1234567890';
95 var_dump( strspn($value,$mask) ); // with default args
96 var_dump( strspn($value,$mask,$start) ); // with default len value
97 var_dump( strspn($value,$mask,$start,$len) ); // with all args
H A Dstrcspn_variation1.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
21 $mask = 'abons1234567890';
95 var_dump( strcspn($value,$mask) ); // with default args
96 var_dump( strcspn($value,$mask,$start) ); // with default len value
97 var_dump( strcspn($value,$mask,$start,$len) ); // with all args
H A Dstrcspn_variation7.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [,int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
64 // defining array of mask strings
91 // loop through each element of the arrays for str, mask and start arguments
96 foreach($mask_array as $mask) {
98 var_dump( strcspn($str,$mask,$start) ); // with default len value
H A Dstrspn_variation7.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
64 // defining array of different mask strings
90 // loop through each element of the array for heredoc strings, mask strings and start values
96 foreach($mask_array as $mask) {
98 var_dump( strspn($str,$mask,$start) ); // with default len value
H A Dstrspn_variation4.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strspn($str,$mask,$start,$value) ); // with all args
H A Dstrcspn_variation4.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strcspn($str,$mask,$start,$value) ); // with all args
H A Dstrcspn_variation3.phpt5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]])
6 * Description: Finds length of initial segment consisting entirely of characters not found in mask.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strcspn($str,$mask,$value) ); // with default len value
93 var_dump( strcspn($str,$mask,$value,$len) ); // with all args
H A Dstrspn_variation3.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
22 $mask = 'soibtFTf1234567890';
92 var_dump( strspn($str,$mask,$value) ); // with default len value
93 var_dump( strspn($str,$mask,$value,$len) ); // with all args
/PHP-5.4/ext/ereg/regex/
H A Dregex2.h90 uch mask; /* bit within array */ member
96 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
97 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
98 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
/PHP-5.4/main/streams/
H A Dphp_stream_context.h49 int mask; member
112 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \
115 …, dmax) do { if ((context) && (context)->notifier && (context)->notifier->mask & PHP_STREAM_NOTIFI…
/PHP-5.4/ext/standard/tests/file/
H A Dumask_error.phpt11 /* Prototype: int umask ( [int $mask] );

Completed in 30 milliseconds

123