/PHP-5.5/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 41 $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 D | DOMNode_normalize_basic.phpt | 37 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 D | mb_substr_variation7.phpt | 2 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 D | mb_substr_variation5.phpt | 2 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 D | SplFileObject_fwrite_variation_001.phpt | 2 SplFileObject::fwrite function - writing with two parameters length < input string length
|
H A D | SplFileObject_fwrite_variation_002.phpt | 2 SplFileObject::fwrite function - writing with two parameters, length > input string length
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_substr-charset-length-cve-2007-4783.phpt | 2 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 D | str_split_variation2.phpt | 110 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 D | str_split_variation2_64bit.phpt | 110 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 D | substr.phpt | 6 /* 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 D | oci8_lob.c | 120 *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 D | array_bind_013.phpt | 29 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 D | dl-cve-2007-4887.phpt | 2 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 D | fopen_wrappers.c | 364 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 D | exif.c | 1681 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 D | fread_fwrite_basic.phpt | 9 * 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 D | grapheme_api.php | 84 * @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 D | gzwrite_variation1.phpt | 15 $length = 10; 18 var_dump(gzwrite( $h, $str, $length ) );
|
H A D | gzgets_error.phpt | 14 $length = 10; 16 var_dump(gzgets( $h, $length, $extra_arg ) );
|
H A D | gzread_error.phpt | 14 $length = 10; 17 var_dump(gzread( $h, $length, $extra_arg ) );
|
H A D | gzwrite_basic.phpt | 15 $length = 10; 17 var_dump(gzwrite( $h, $str, $length ) );
|
H A D | gzeof_variation1.phpt | 15 $length = 10; 18 gzwrite( $h, $str, $length);
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug60106.phpt | 15 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 D | zend_multibyte.h | 27 …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 D | testoutput16 | 66 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
|