/PHP-7.2/ext/standard/tests/strings/ |
H A D | strspn_error.phpt | 2 Test strspn() function : error conditions 13 * Test strspn() : for error conditons 16 echo "*** Testing strspn() : error conditions ***\n"; 19 echo "\n-- Testing strspn() function with Zero arguments --\n"; 20 var_dump( strspn() ); 22 //Test strspn with one more than the expected number of arguments 31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) ); 33 // Testing strspn withone less than the expected number of arguments 36 var_dump( strspn($str) ); 41 *** Testing strspn() : error conditions *** [all …]
|
H A D | strspn_basic.phpt | 2 Test strspn() function : basic functionality 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 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) ); [all …]
|
H A D | strspn_variation3.phpt | 2 Test strspn() function : usage variations - unexpected values of start argument 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 15 * Testing strspn() : with unexpected values of start argument 18 echo "*** Testing strspn() : with unexpected values of start argument ***\n"; 92 var_dump( strspn($str,$mask,$value) ); // with default len value 93 var_dump( strspn($str,$mask,$value,$len) ); // with all args 102 *** Testing strspn() : with unexpected values of start argument *** 126 Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d 129 Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d 134 Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d [all …]
|
H A D | strspn_variation1.phpt | 2 Test strspn() function : usage variations - unexpected values for str argument 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 15 * Testing strspn() : with different unexpected values for str argument 18 echo "*** Testing strspn() : with unexpected values for str argument ***\n"; 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 106 *** Testing strspn() : with unexpected values for str argument *** 155 Warning: strspn() expects parameter 1 to be string, array given in %s on line %d 158 Warning: strspn() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | strspn_variation2.phpt | 2 Test strspn() function : usage variations - unexpected values for mask argument 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 15 * Testing strspn() : with different unexpected values for mask argument 94 var_dump( strspn($str,$value) ); // with defalut args 95 var_dump( strspn($str,$value,$start) ); // with default len value 96 var_dump( strspn($str,$value,$start,$len) ); // with all args 105 *** Testing strspn() : with different unexpected values of mask argument *** 154 Warning: strspn() expects parameter 2 to be string, array given in %s on line %d 157 Warning: strspn() expects parameter 2 to be string, array given in %s on line %d 160 Warning: strspn() expects parameter 2 to be string, array given in %s on line %d [all …]
|
H A D | strspn_variation4.phpt | 2 Test strspn() function : usage variations - unexpected values of len argument 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 15 * Testing strspn() : with unexpected values of len argument 18 echo "*** Testing strspn() : with unexpected values of len argument ***\n"; 92 var_dump( strspn($str,$mask,$start,$value) ); // with all args 101 *** Testing strspn() : with unexpected values of len argument *** 120 Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d 125 Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d 130 Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d 135 Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d [all …]
|
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 … 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 heredoc string, varying mask and default start and len arguments 16 echo "*** Testing strspn() : with different mask strings ***\n"; 86 var_dump( strspn($str,$mask) ); // with default start and len value 94 *** 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 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 varying mask and default start and len arguments 16 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n"; 61 var_dump( strspn($str,$mask) ); 69 *** Testing strspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation7.phpt | 2 Test strspn() function : usage variations - with heredoc strings, varying start and default 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 heredoc string, varying start and default len arguments 16 echo "*** Testing strspn() : with different start values ***\n"; 98 var_dump( strspn($str,$mask,$start) ); // with default len value 107 *** Testing strspn() : with different start values ***
|
H A D | strspn_variation11.phpt | 2 Test strspn() function : usage variations - with varying start and default 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 varying start and default len arguments 16 echo "*** Testing strspn() : with different start and default len values ***\n"; 72 var_dump( strspn($str,$mask,$start) ); 81 *** Testing strspn() : with different start and default len values ***
|
H A D | bug40754.phpt | 11 var_dump(strspn("abcde", "abc", $v, $v));
|
H A D | strspn_variation8.phpt | 2 Test strspn() function : usage variations - with heredoc strings, varying 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 heredoc string, varying start and len arguments 16 echo "*** Testing strspn() : with different start and len values ***\n"; 105 var_dump( strspn($str,$mask,$start,$len) ); 115 *** Testing strspn() : with different start and len values ***
|
H A D | strspn_variation12.phpt | 2 Test strspn() function : usage variations - with varying 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 varying start and len arguments 16 echo "*** Testing strspn() : with different start and len values ***\n"; 73 var_dump( strspn($str,$mask,$start,$len) ); 83 *** Testing strspn() : with different start and len values ***
|
H A D | strcspn_variation1.phpt | 15 * Testing strspn() : with different unexpected values for str argument
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 264 if (strlen(address) == strspn(address, "0123456789")) { in fpm_sockets_domain_from_address() 325 } 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 | 263 if (strlen(wp->config->user) == strspn(wp->config->user, "0123456789")) { in fpm_unix_conf_wp() 283 if (strlen(wp->config->group) == strspn(wp->config->group, "0123456789")) { in fpm_unix_conf_wp()
|
/PHP-7.2/ext/standard/ |
H A D | php_string.h | 27 PHP_FUNCTION(strspn);
|
H A D | var_unserializer.c | 1180 …len3 = strspn(str, "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\177\200\201\20… in php_var_unserialize_internal()
|
H A D | var_unserializer.re | 923 …len3 = strspn(str, "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\177\200\201\20…
|
H A D | basic_functions.c | 2759 PHP_FE(strspn, arginfo_strspn)
|
H A D | string.c | 357 PHP_FUNCTION(strspn) in PHP_FUNCTION() argument
|
/PHP-7.2/Zend/ |
H A D | zend_execute_API.c | 951 …if (!key && strspn(ZSTR_VAL(name), "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY… in zend_lookup_class_ex()
|