Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-5.5/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt41 $len = $children->length;
43 for ($index = $children->length - 1; $index >=0; $index--) {
52 $len = $children->length;
54 for ($index = 0; $index < $children->length; $index++) {
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);
/PHP-5.5/ext/mbstring/tests/
H A Dmb_substr_variation7.phpt2 Test mb_substr() function : usage variations - pass different integers to $length arg
10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
16 * Test how mb_substr() behaves when passed a range of integers as $length argument
48 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
51 echo "Difference in length of ASCII string and multibyte string\n";
H A Dmb_substr_variation5.phpt2 Test mb_substr() function : usage variations - pass different integers to $length arg
10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]])
16 * Test how mb_substr() behaves when passed a range of integers as $length argument
43 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
46 echo "Difference in length of ASCII string and multibyte string\n";
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_fwrite_variation_001.phpt2 SplFileObject::fwrite function - writing with two parameters length < input string length
H A DSplFileObject_fwrite_variation_002.phpt2 SplFileObject::fwrite function - writing with two parameters, length > input string length
/PHP-5.5/ext/iconv/tests/
H A Diconv_substr-charset-length-cve-2007-4783.phpt2 iconv_substr() charset parameter length checks (CVE-2007-4783)
13 Warning: iconv_substr(): Charset parameter exceeds the maximum allowed length of %d characters in %…
/PHP-5.5/ext/standard/tests/strings/
H A Dstr_split_variation2.phpt110 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
114 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
118 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
122 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
146 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
150 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
203 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
256 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
280 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
284 Warning: str_split(): The length of each segment must be greater than zero in %sstr_split_variation…
H A Dstr_split_variation2_64bit.phpt110 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
119 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
123 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
147 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
151 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
204 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
257 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
281 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
285 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
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 ***
/PHP-5.5/ext/oci8/
H A Doci8_lob.c120 *length = 0; in php_oci_lob_get_length()
123 *length = descriptor->lob_size; in php_oci_lob_get_length()
239 ub4 length = 0; in php_oci_lob_read() local
265 if (length <= 0) { in php_oci_lob_read()
269 if (initial_offset > length) { in php_oci_lob_read()
275 requested_len = length; in php_oci_lob_read()
545 if (length == -1) { in php_oci_lob_copy()
548 copy_len = length; in php_oci_lob_copy()
860 if (length == -1) {
861 length = lob_length;
[all …]
/PHP-5.5/ext/oci8/tests/
H A Darray_bind_013.phpt29 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
32 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
35 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
/PHP-5.5/ext/standard/tests/general_functions/
H A Ddl-cve-2007-4887.phpt2 dl() filename length checks (CVE-2007-4887)
18 Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d
/PHP-5.5/main/
H A Dfopen_wrappers.c364 int length; local
386 length = s - (path_info + 2);
387 if (length > (int)sizeof(user) - 1) {
388 length = sizeof(user) - 1;
390 memcpy(user, path_info + 2, length);
391 user[length] = '\0';
412 IS_ABSOLUTE_PATH(PG(doc_root), length)) {
414 filename = emalloc(length + path_len + 2);
416 memcpy(filename, PG(doc_root), length);
418 filename[length++] = PHP_DIR_SEPARATOR;
[all …]
/PHP-5.5/ext/exif/
H A Dexif.c1681 if (length < 0) { in exif_iif_add_value()
1692 info_data->length = length; in exif_iif_add_value()
1699 length = php_strnlen(value, length); in exif_iif_add_value()
1701 info_data->length = length; in exif_iif_add_value()
1718 if (!length) in exif_iif_add_value()
1724 info_data->length = length; in exif_iif_add_value()
1742 if (length>1) { in exif_iif_add_value()
1884 info_data->length = length; in exif_iif_add_buffer()
2239 if (length>3) { in exif_process_CME()
2828 size_t length; in exif_process_IFD_TAG() local
[all …]
/PHP-5.5/ext/standard/tests/file/
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-5.5/ext/intl/doc/
H A Dgrapheme_api.php84 * @param [int] $length If length is given and is positive, the string returned will contain
93 function grapheme_substr($string, $start, $length = -1) {} argument
/PHP-5.5/ext/zlib/tests/
H A Dgzwrite_variation1.phpt15 $length = 10;
18 var_dump(gzwrite( $h, $str, $length ) );
H A Dgzgets_error.phpt14 $length = 10;
16 var_dump(gzgets( $h, $length, $extra_arg ) );
H A Dgzread_error.phpt14 $length = 10;
17 var_dump(gzread( $h, $length, $extra_arg ) );
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);
/PHP-5.5/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…
/PHP-5.5/Zend/
H A Dzend_multibyte.h27 …ilter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length TSRMLS_DC);
32 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
68 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi…
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput1666 Subject length lower bound = 17
94 Subject length lower bound = 1
102 Subject length lower bound = 1
110 Subject length lower bound = 1
126 Subject length lower bound = 1
136 Subject length lower bound = 1

Completed in 47 milliseconds

12345678910>>...25