Lines Matching refs:strspn
2 Test strspn() function : basic functionality
5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided, it works like strspn(substr($s,$start,$len),$good_chars)
13 * Testing strspn() : basic functionality
16 echo "*** Testing strspn() : basic functionality ***\n";
25 // Calling strspn() with all possible arguments
26 var_dump( strspn($str, $mask, $start, $len) );
28 // Calling strspn() with three arguments and default len argument
29 var_dump( strspn($str, $mask, $start) );
31 // Calling strspn() with default arguments
32 var_dump( strspn($str, $mask) );
37 *** Testing strspn() : basic functionality ***