Home
last modified time | relevance | path

Searched refs:length (Results 101 – 125 of 588) sorted by relevance

12345678910>>...24

/PHP-7.4/ext/zlib/tests/
H A Dgzwrite_variation1.phpt15 $length = 10;
18 var_dump(gzwrite( $h, $str, $length ) );
H A Dgzwrite_basic.phpt15 $length = 10;
17 var_dump(gzwrite( $h, $str, $length ) );
H A Dgzeof_variation1.phpt15 $length = 10;
18 gzwrite( $h, $str, $length);
H A Dgzputs_basic.phpt15 $length = 10;
17 var_dump(gzputs( $h, $str, $length ) );
/PHP-7.4/ext/dom/tests/
H A DDOMNode_normalize_basic.phpt37 var_dump($title->childNodes->length);
44 var_dump($title->childNodes->length);
50 var_dump($title->childNodes->length);
57 var_dump($title->childNodes->length);
H A DDOMCharacterData_appendData_basic.phpt21 echo "CDATA Length (one append): " . $cdatanode->length . "\n";
24 echo "CDATA Length (two appends): " . $cdatanode->length . "\n";
H A DDOMComment_appendData_basic_Sullivan.phpt21 echo "Comment Length (one append): " . $commentnode->length . "\n";
24 echo "Comment Length (two appends): " . $commentnode->length . "\n";
/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_string.c383 zend_long lstart = 0, length = 0; in PHP_FUNCTION() local
408 length = str_len; in PHP_FUNCTION()
411 if(length < INT32_MIN) { in PHP_FUNCTION()
412 length = INT32_MIN; in PHP_FUNCTION()
413 } else if(length > INT32_MAX) { in PHP_FUNCTION()
414 length = INT32_MAX; in PHP_FUNCTION()
518 if(length == 0) { in PHP_FUNCTION()
529 if ( length < 0 ) { in PHP_FUNCTION()
541 while ( length ) { in PHP_FUNCTION()
548 length += iter_val; in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/mysqli/tests/
H A D047.phpt80 ["length"]=>
109 ["length"]=>
140 ["length"]=>
168 ["length"]=>
198 ["length"]=>
226 ["length"]=>
/PHP-7.4/ext/standard/tests/strings/
H A Dsubstr.phpt6 /* Prototype: string substr( string str, int start[, int length] )
7 * Description: Returns the portion of string specified by the start and length parameters.
43 /* start value variations with length values */
59 /* variation of start and length to point to same element */
60 echo ("\n*** Testing for variations of start and length to point to same element ***\n");
64 …turn empty string when start denotes the position beyond the truncation (set by negative length) */
76 /* start <0 && -start > length */
209 *** Testing for variations of start and length to point to same element ***
H A Dstrrpos_offset.phpt32 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
35 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
40 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
43 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dbug40754.phpt38 Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
47 Warning: substr_count(): Invalid length value in %s on line %d
56 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
59 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dstrripos_offset.phpt36 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
39 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
44 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
47 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
/PHP-7.4/ext/standard/tests/file/
H A Dfnmatch_maxpathlen.phpt14 Warning: fnmatch(): Filename exceeds the maximum allowed length of %d characters in %s on line %d
17 Warning: fnmatch(): Pattern exceeds the maximum allowed length of %d characters in %s on line %d
H A Dfread_fwrite_basic.phpt9 * proto int fwrite(resource fp, string str [, int length])
14 Prototype: string fread ( resource $handle [, int $length] );
15 Description: reads up to length bytes from the file pointer referenced by handle.
16 Reading stops when up to length bytes have been read, EOF (end of file) is
/PHP-7.4/Zend/
H A Dzend_multibyte.h25 …encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);
30 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
67 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi…
/PHP-7.4/ext/standard/tests/streams/
H A Dbug60106.phpt15 preg_match("#maximum allowed length of (\d+) bytes#", $errmsg, $matches);
23 stream_socket_server(): socket path exceeded the maximum allowed length of %d bytes and was truncat…
H A Dbug64166.phpt13 'line-length' => 74
22 'line-length' => 6
H A Dbug64166_3.phpt10 'line-length' => 74
22 'line-length' => 6
/PHP-7.4/main/
H A Dfopen_wrappers.c365 size_t length; local
387 length = s - (path_info + 2);
388 if (length > sizeof(user) - 1) {
389 length = sizeof(user) - 1;
391 memcpy(user, path_info + 2, length);
392 user[length] = '\0';
413 IS_ABSOLUTE_PATH(PG(doc_root), length)) {
415 filename = emalloc(length + path_len + 2);
416 memcpy(filename, PG(doc_root), length);
418 filename[length++] = PHP_DIR_SEPARATOR;
[all …]
/PHP-7.4/ext/exif/
H A Dexif.c2153 if (length < 0) { in exif_iif_add_value()
2164 info_data->length = length; in exif_iif_add_value()
2175 length = (int)php_strnlen(value, length); in exif_iif_add_value()
2177 info_data->length = length; in exif_iif_add_value()
2194 if (!length) in exif_iif_add_value()
2203 length = (int) php_strnlen(value, length); in exif_iif_add_value()
2208 info_data->length = length; in exif_iif_add_value()
2226 if (length>1) { in exif_iif_add_value()
2373 info_data->length = length; in exif_iif_add_buffer()
3291 size_t length; in exif_process_IFD_TAG_impl() local
[all …]
/PHP-7.4/ext/intl/tests/
H A Dregression_sortwsk_eq.phpt8 * Test sorting strings that have different length but otherwise equal.
27 // Each array contains equal strings that differ only in their length.
H A Dregression_sort_eq.phpt8 * Test sorting strings that have different length but otherwise equal.
27 // Each array contains equal strings that differ only in their length.
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug70943.phpt15 echo "Generating a file with a path length of ".strlen($testFile)." characters...\r\n";
29 Generating a file with a path length of 259 characters...
/PHP-7.4/ext/standard/
H A Durl.h35 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length);
36 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, zend_bool *has_port);

Completed in 61 milliseconds

12345678910>>...24