Home
last modified time | relevance | path

Searched refs:len (Results 226 – 250 of 564) sorted by last modified time

12345678910>>...23

/PHP-7.3/ext/standard/tests/strings/
H A Dstrncmp_variation9.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrspn_error.phpt5 /* 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)
27 $len = 20;
31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrspn_variation1.phpt5 /* 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)
23 $len = 10;
96 var_dump( strspn($value,$mask,$start) ); // with default len value
97 var_dump( strspn($value,$mask,$start,$len) ); // with all args
H A Dstrspn_variation2.phpt5 /* 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)
22 $len = 10;
95 var_dump( strspn($str,$value,$start) ); // with default len value
96 var_dump( strspn($str,$value,$start,$len) ); // with all args
H A Dstrspn_variation3.phpt5 /* 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)
23 $len = 10;
92 var_dump( strspn($str,$mask,$value) ); // with default len value
93 var_dump( strspn($str,$mask,$value,$len) ); // with all args
H A Dstrspn_variation4.phpt115 -- Iteration with len value as "0.5" --
143 -- Iteration with len value as "" --
146 -- Iteration with len value as "" --
149 -- Iteration with len value as "1" --
152 -- Iteration with len value as "" --
155 -- Iteration with len value as "1" --
158 -- Iteration with len value as "" --
161 -- Iteration with len value as "" --
166 -- Iteration with len value as "" --
186 -- Iteration with len value as "" --
[all …]
H A Dstrcspn_error.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
27 $len = 20;
31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
H A Dstrcspn_variation1.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
23 $len = 10;
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_variation2.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
22 $len = 10;
95 var_dump( strcspn($str,$value,$start) ); // with default len value
96 var_dump( strcspn($str,$value,$start,$len) ); // with all args
H A Dstrcspn_variation3.phpt5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
23 $len = 10;
92 var_dump( strcspn($str,$mask,$value) ); // with default len value
93 var_dump( strcspn($str,$mask,$value,$len) ); // with all args
H A Dstrcspn_variation4.phpt117 -- Iteration with len value as "0.5" --
145 -- Iteration with len value as "" --
148 -- Iteration with len value as "" --
151 -- Iteration with len value as "1" --
154 -- Iteration with len value as "" --
157 -- Iteration with len value as "1" --
160 -- Iteration with len value as "" --
163 -- Iteration with len value as "" --
168 -- Iteration with len value as "" --
188 -- Iteration with len value as "" --
[all …]
H A Dexplode1.phpt17 "", // len=0
/PHP-7.3/ext/standard/tests/general_functions/
H A Dob_get_length_basic.phpt17 $len = ob_get_length();
19 var_dump( $len );
/PHP-7.3/ext/standard/tests/file/
H A Dfwrite_error.phpt34 $len = 0;
35 var_dump( fwrite($file_handle, $data, $len) );
36 $len = -10;
37 var_dump( fwrite($file_handle, $data, $len) );
H A Dfread_error.phpt27 $len = 0;
28 var_dump( fread($file_handle, $len) );
29 $len = -10;
30 var_dump( fread($file_handle, $len) );
H A Dfgets_error.phpt22 $len = 0;
23 var_dump( fgets($fp, $len) );
24 $len = -10;
25 var_dump( fgets($fp, $len) );
26 $len = 1;
27 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false
H A Dfgetss_error.phpt24 $len = 0;
26 var_dump( fgetss($fp, $len, $allowable_tags) );
27 $len = -10;
28 var_dump( fgetss($fp, $len, $allowable_tags) );
29 $len = 1;
30 var_dump( fgetss($fp, $len, $allowable_tags) ); // return length - 1 always, expect false
H A Dfgetcsv_error.phpt18 $len = 1024;
22 var_dump( fgetcsv($fp, $len, $delim, $enclosure, $escape, $fp) );
39 …var_dump( fgetcsv($invalid_args[$loop_counter - 1], $len, $delim, $enclosure, $escape) ); // all a…
/PHP-7.3/ext/standard/
H A Dphp_string.h122 PHPAPI char *php_strtoupper(char *s, size_t len);
123 PHPAPI char *php_strtolower(char *s, size_t len);
126 PHPAPI char *php_strtr(char *str, size_t len, const char *str_from, const char *str_to, size_t trle…
134 PHPAPI zend_string *php_addcslashes_str(const char *str, size_t len, char *what, size_t what_len);
137 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen);
138 PHPAPI size_t php_dirname(char *str, size_t len);
143 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, uint8_t *state, const char *allow, size_t allo…
144 PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, uint8_t *stateptr, const char *allow, size_…
161 # define php_mblen(ptr, len) 1 argument
167 # define php_mblen(ptr, len) ((int) mbrlen(ptr, len, &BG(mblen_state))) argument
[all …]
H A Dphp_incomplete_class.h55 PHPAPI void php_store_class_name(zval *object, const char *name, size_t len);
H A Dproc_open.c740 size_t len; in PHP_FUNCTION() local
744 len = (sizeof(COMSPEC_NT) + sizeof(" /c ") + tmp_len + 1); in PHP_FUNCTION()
745 cmdw2 = (wchar_t *)malloc(len * sizeof(wchar_t)); in PHP_FUNCTION()
750 ret = _snwprintf(cmdw2, len, L"%hs /c %s", COMSPEC_NT, cmdw); in PHP_FUNCTION()
H A Dsha1.c366 static void SHA1Encode(output, input, len) in SHA1Encode() argument
369 unsigned int len;
373 for (i = 0, j = 0; j < len; i++, j += 4) {
386 static void SHA1Decode(output, input, len) in SHA1Decode() argument
389 unsigned int len;
393 for (i = 0, j = 0; j < len; i++, j += 4)
H A Dincomplete_class.c151 PHPAPI void php_store_class_name(zval *object, const char *name, size_t len) in php_store_class_name() argument
156 ZVAL_STRINGL(&val, name, len); in php_store_class_name()
H A Dinfo.c57 static int php_info_print_html_esc(const char *str, size_t len) /* {{{ */ in php_info_print_html_esc() argument
62 new_str = php_escape_html_entities((unsigned char *) str, len, 0, ENT_QUOTES, "utf-8"); in php_info_print_html_esc()
72 size_t len, written; in php_info_printf() local
76 len = vspprintf(&buf, 0, fmt, argv); in php_info_printf()
79 written = php_output_write(buf, len); in php_info_printf()
H A Diptc.c318 size_t inx = 0, len; in PHP_FUNCTION() local
354 len = (((zend_long) buffer[ inx + 2 ]) << 24) + (((zend_long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
358 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
362 if ((len > str_len) || (inx + len) > str_len) { in PHP_FUNCTION()
378 add_next_index_stringl(element, (char *) buffer+inx, len); in PHP_FUNCTION()
379 inx += len; in PHP_FUNCTION()

Completed in 48 milliseconds

12345678910>>...23