/PHP-5.3/ext/wddx/tests/ |
H A D | bug37569.phpt | 21 <wddxPacket version='1.0'><header/><data><string>A</string></data></wddxPacket> 25 <wddxPacket version='1.0'><header/><data><string>B</string></data></wddxPacket> 29 <wddxPacket version='1.0'><header/><data><string>C</string></data></wddxPacket> 33 <wddxPacket version='1.0'><header/><data><string>D</string></data></wddxPacket> 37 <wddxPacket version='1.0'><header/><data><string>E</string></data></wddxPacket> 41 <wddxPacket version='1.0'><header/><data><string>F</string></data></wddxPacket> 45 <wddxPacket version='1.0'><header/><data><string>G</string></data></wddxPacket> 49 <wddxPacket version='1.0'><header/><data><string>H</string></data></wddxPacket> 53 <wddxPacket version='1.0'><header/><data><string>I</string></data></wddxPacket> 57 <wddxPacket version='1.0'><header/><data><string>J</string></data></wddxPacket> [all …]
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | is_tar.c | 95 const union record *header = (const union record *)(const void *)buf; in is_tar() local 103 recsum = from_oct(8, header->header.chksum); in is_tar() 106 p = header->charptr; in is_tar() 111 for (i = sizeof(header->header.chksum); --i >= 0;) in is_tar() 112 sum -= header->header.chksum[i]; in is_tar() 113 sum += ' ' * sizeof header->header.chksum; in is_tar() 118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) in is_tar() 120 if (strcmp(header->header.magic, TMAGIC) == 0) in is_tar()
|
H A D | tar.h | 53 struct header { struct 68 } header; member
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | bug60227_1.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR) 5 header("X-Foo1: a"); 6 header("X-Foo2: b\n "); 7 header("X-Foo3: c\r\n "); 8 header("X-Foo4: d\r "); 9 header("X-Foo5: e\rSet-Cookie: ID=123"); 13 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | head.phpt | 2 header() and friends 14 var_dump(header("HTTP 1.0", true, 200)); 19 var_dump(header("")); 20 var_dump(header("", true)); 23 var_dump(header("HTTP blah")); 24 var_dump(header("HTTP blah", true)); 36 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s… 39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s… 45 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s… 48 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
|
H A D | bug60227_4.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), CRLF 5 header("X-foo: e\r\n foo"); 6 header("X-foo: e\r\nfoo"); 10 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | bug60227_2.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n 5 header("X-foo: e\n foo"); 6 header("X-Foo6: e\rSet-Cookie: ID=123\n d"); 10 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | bug60227_3.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), \0 before \n 5 header("X-foo: e\n foo"); 6 header("X-Foo6: e\0Set-Cookie: ID=\n123\n d");
|
/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.h | 69 MYSQLND_PACKET_HEADER header; member 89 MYSQLND_PACKET_HEADER header; member 109 MYSQLND_PACKET_HEADER header; member 126 MYSQLND_PACKET_HEADER header; member 135 MYSQLND_PACKET_HEADER header; member 149 MYSQLND_PACKET_HEADER header; member 175 MYSQLND_PACKET_HEADER header; member 188 MYSQLND_PACKET_HEADER header; member 217 MYSQLND_PACKET_HEADER header; member 226 MYSQLND_PACKET_HEADER header; member [all …]
|
H A D | mysqlnd_wireprotocol.c | 46 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \ 271 header->size = uint3korr(buffer); in mysqlnd_read_header() 275 DBG_INF_FMT("HEADER: prot_packet_no=%u size=%3u", header->packet_no, header->size); in mysqlnd_read_header() 292 net->packet_no, header->packet_no, header->size); in mysqlnd_read_header() 295 net->packet_no, header->packet_no, header->size); in mysqlnd_read_header() 646 if (packet->header.size > 1) { in php_mysqlnd_eof_read() 805 len = packet->header.size - 1; in php_mysqlnd_rset_header_read() 1116 MYSQLND_PACKET_HEADER header; in php_mysqlnd_read_row_ex() local 1137 *data_size += header.size; in php_mysqlnd_read_row_ex() 1153 if (!header.size) { in php_mysqlnd_read_row_ex() [all …]
|
/PHP-5.3/sapi/cgi/tests/ |
H A D | 011.phpt | 29 header("X-Foo: Bar"); 32 header("X-Foo: Bar"); 33 header("X-Bar: Baz"); 37 header("X-Foo: Bar"); 41 header("X-Foo: Bar"); 45 header("X-Foo: Bar"); 55 header("X-Foo: Bar"); 83 header("X-Foo: Bar"); 92 header("X-Foo: Bar"); 93 header("X-Bar: Baz"); [all …]
|
H A D | 010.phpt | 2 Bug #45860 (header() function fails to correctly replace all Status lines) 18 header("HTTP/1.1 403 Forbidden"); 19 header("Status: 403 Also Forbidden"); 25 header("HTTP/1.1 403 Forbidden"); 31 header("Status: 403 Also Forbidden");
|
H A D | bug61605.phpt | 9 header("A: first"); 10 header("A: second", TRUE); 12 header("A: third", FALSE);
|
/PHP-5.3/ext/bcmath/libbcmath/ |
H A D | config.h.in | 9 /* Define if you have the ANSI C header files. */ 15 /* Define if you have the <lib.h> header file. */ 18 /* Define if you have the <limits.h> header file. */ 21 /* Define if you have the <stdarg.h> header file. */ 24 /* Define if you have the <stddef.h> header file. */ 27 /* Define if you have the <stdlib.h> header file. */ 30 /* Define if you have the <string.h> header file. */ 33 /* Define if you have the <unistd.h> header file. */
|
/PHP-5.3/ext/mbstring/libmbfl/ |
H A D | config.h.in | 3 /* Define to 1 if you have the <assert.h> header file. */ 6 /* Define to 1 if you have the <dlfcn.h> header file. */ 9 /* Define to 1 if you have the <inttypes.h> header file. */ 16 /* Define to 1 if you have the <memory.h> header file. */ 23 /* Define to 1 if you have the <stddef.h> header file. */ 26 /* Define to 1 if you have the <stdint.h> header file. */ 29 /* Define to 1 if you have the <stdlib.h> header file. */ 38 /* Define to 1 if you have the <strings.h> header file. */ 41 /* Define to 1 if you have the <string.h> header file. */ 50 /* Define to 1 if you have the <unistd.h> header file. */ [all …]
|
/PHP-5.3/ext/standard/tests/http/ |
H A D | bug48929.phpt | 2 Bug #48929 (duplicate \r\n sent after last header line) 33 echo "-- Test: requests with 'header' as array --\n"; 35 do_test(array('header' => array('X-Foo: bar', 'Content-Type: text/plain'), 'method' => 'POST', 'con… 37 echo "-- Test: requests with 'header' as string --\n"; 39 do_test(array('header' => "X-Foo: bar\r\nContent-Type: text/plain", 'method' => 'POST', 'content' =… 43 -- Test: requests with 'header' as array -- 51 -- Test: requests with 'header' as string --
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | config.h.in | 18 /* Define to 1 if you have the <dlfcn.h> header file. */ 21 /* Define to 1 if you have the <inttypes.h> header file. */ 24 /* Define to 1 if you have the <memory.h> header file. */ 33 /* Define to 1 if you have the <stdint.h> header file. */ 36 /* Define to 1 if you have the <stdlib.h> header file. */ 39 /* Define to 1 if you have the <strings.h> header file. */ 42 /* Define to 1 if you have the <string.h> header file. */ 45 /* Define to 1 if you have the <sys/stat.h> header file. */ 51 /* Define to 1 if you have the <sys/time.h> header file. */ 57 /* Define to 1 if you have the <unistd.h> header file. */ [all …]
|
/PHP-5.3/main/ |
H A D | alloca.c | 146 } header; typedef 148 static header *last_alloca_header = NULL; /* -> last alloca header. */ 173 register header *hp; /* Traverses linked list. */ 183 register header *np = hp->h.next; 205 register pointer new = malloc (sizeof (header) + size); 211 ((header *) new)->h.next = last_alloca_header; 212 ((header *) new)->h.deep = depth; 214 last_alloca_header = (header *) new; 218 return (pointer) ((char *) new + sizeof (header));
|
H A D | SAPI.c | 117 efree(sapi_header->header); in sapi_free_header() 509 sapi_header_struct *header; in sapi_remove_header() local 516 if (header->header_len > len && header->header[len] == ':' in sapi_remove_header() 517 && !strncasecmp(header->header, name, len)) { in sapi_remove_header() 528 sapi_free_header(header); in sapi_remove_header() 642 sapi_header.header = header_line; in sapi_header_op() 693 sapi_header.header = newheader; in sapi_header_op() 772 sapi_header.header = newheader; in sapi_header_op() 786 if (sapi_header.header==header_line) { in sapi_header_op() 807 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, strlen(sapi_header.header)); in sapi_header_op() [all …]
|
/PHP-5.3/ext/phar/ |
H A D | shortarc.php | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | tar.c | 103 php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum)); in phar_is_tar() 112 memcpy(save, header->checksum, sizeof(header->checksum)); in phar_is_tar() 113 memset(header->checksum, ' ', sizeof(header->checksum)); in phar_is_tar() 115 memcpy(header->checksum, save, sizeof(header->checksum)); in phar_is_tar() 680 tar_header header; in phar_tar_writeheaders() local 700 memset((char *) &header, 0, sizeof(header)); in phar_tar_writeheaders() 726 phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1); in phar_tar_writeheaders() 735 if (FAILURE == phar_tar_octal(header.mtime, entry->timestamp, sizeof(header.mtime)-1)) { in phar_tar_writeheaders() 752 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders() 754 if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { in phar_tar_writeheaders() [all …]
|
/PHP-5.3/ext/imap/tests/ |
H A D | bug53377.phpt | 2 Bug #53377 (imap_mime_header_decode() doesn't ignore \t during long MIME header unfolding) 12 $header = "$s\n $s\n\t$s"; 14 var_dump(imap_mime_header_decode($header));
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_source_pkware.c | 143 zip_uint8_t header[HEADERLEN]; in decrypt_header() local 148 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) { in decrypt_header() 159 decrypt(ctx, header, header, HEADERLEN, 0); in decrypt_header() 168 if (header[HEADERLEN-1] != st.crc>>24 in decrypt_header() 169 && header[HEADERLEN-1] != dostime>>8) { in decrypt_header()
|
/PHP-5.3/ext/curl/ |
H A D | streams.c | 89 zval *header; in on_header_available() local 100 MAKE_STD_ZVAL(header); in on_header_available() 101 Z_STRLEN_P(header) = length; in on_header_available() 103 if (Z_STRVAL_P(header)[length-1] == '\n') { in on_header_available() local 104 Z_STRVAL_P(header)[length-1] = '\0'; in on_header_available() local 105 Z_STRLEN_P(header)--; in on_header_available() 108 Z_STRVAL_P(header)[length-2] = '\0'; in on_header_available() local 109 Z_STRLEN_P(header)--; in on_header_available() 112 Z_TYPE_P(header) = IS_STRING; in on_header_available() 351 zval **header = NULL; in php_curl_stream_opener() local [all …]
|
/PHP-5.3/ext/ereg/regex/ |
H A D | regerror.ih | 1 /* ========= begin header generated by ./mkh ========= */ 12 /* ========= end header generated by ./mkh ========= */
|