Searched refs:strspn (Results 1 – 16 of 16) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | strspn_basic.phpt | 2 Test strspn() function : basic functionality 6 * Testing strspn() : basic functionality 9 echo "*** Testing strspn() : basic functionality ***\n"; 18 // Calling strspn() with all possible arguments 19 var_dump( strspn($str, $mask, $start, $len) ); 21 // Calling strspn() with three arguments and default len argument 22 var_dump( strspn($str, $mask, $start) ); 24 // Calling strspn() with default arguments 25 var_dump( strspn($str, $mask) ); 30 *** Testing strspn() : basic functionality ***
|
H A D | strspn.phpt | 2 Test strspn() behavior 9 var_dump(strspn($a,$b)); 10 var_dump(strspn($a,$b,2)); 11 var_dump(strspn($a,$b,2,3));
|
H A D | strspn_variation9.phpt | 2 Test strspn() function : usage variations - different strings with default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with different strings as str argument and default start and len args 16 echo "*** Testing strspn() : with different str and default start and len args ***\n"; 49 //calling strspn() with default arguments 50 var_dump( strspn($str,$mask) ); 56 *** Testing strspn() : with different str and default start and len args ***
|
H A D | strspn_variation5.phpt | 2 Test strspn() function : usage variations - with heredoc strings with default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with different heredoc strings as str argument 16 echo "*** Testing strspn() : with heredoc strings ***\n"; 70 var_dump( strspn($str,$mask) ); // with default start and len values 76 *** Testing strspn() : with heredoc strings ***
|
H A D | strspn_variation6.phpt | 2 Test strspn() function : usage variations - with heredoc strings, varying mask & default start and … 6 * Testing strspn() : with heredoc string, varying mask and default start and len arguments 9 echo "*** Testing strspn() : with different mask strings ***\n"; 79 var_dump( strspn($str,$mask) ); // with default start and len value 87 *** Testing strspn() : with different mask strings ***
|
H A D | strspn_variation10.phpt | 2 Test strspn() function : usage variations - with varying mask & default start and len args 6 * Testing strspn() : with varying mask and default start and len arguments 9 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n"; 54 var_dump( strspn($str,$mask) ); 62 *** Testing strspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation11.phpt | 2 Test strspn() function : usage variations - with varying start and default len args 6 * Testing strspn() : with varying start and default len arguments 9 echo "*** Testing strspn() : with different start and default len values ***\n"; 65 var_dump( strspn($str,$mask,$start) ); 74 *** Testing strspn() : with different start and default len values ***
|
H A D | bug40754.phpt | 10 var_dump(strspn("abcde", "abc", $v, $v));
|
H A D | strspn_variation12.phpt | 2 Test strspn() function : usage variations - with varying start and len args 6 * Testing strspn() : with varying start and len arguments 9 echo "*** Testing strspn() : with different start and len values ***\n"; 66 var_dump( strspn($str,$mask,$start,$len) ); 76 *** Testing strspn() : with different start and len values ***
|
/php-src/ext/dom/ |
H A D | infra.c | 44 current += strspn(current, ascii_whitespace); in dom_strip_and_collapse_ascii_whitespace() 57 current += strspn(current, ascii_whitespace); in dom_strip_and_collapse_ascii_whitespace()
|
H A D | token_list.c | 64 position += strspn(position, ascii_whitespace); in dom_ordered_set_parser() 79 position += strspn(position, ascii_whitespace); in dom_ordered_set_parser()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 298 if (strlen(address) == strspn(address, "0123456789")) { in fpm_sockets_domain_from_address() 359 } else if (strlen(dup_address) == strspn(dup_address, "0123456789")) { /* this is port */ in fpm_socket_af_inet_listening_socket()
|
H A D | fpm_unix.c | 53 return strlen(name) == strspn(name, "0123456789"); in fpm_unix_is_id()
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2304 function strspn(string $string, string $characters, int $offset = 0, ?int $length = null): int {}
|
H A D | basic_functions_arginfo.h | 2514 ZEND_FUNCTION(strspn);
|
H A D | string.c | 267 PHP_FUNCTION(strspn) in PHP_FUNCTION() argument
|
Completed in 65 milliseconds