Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/standard/
H A Dhead.c35 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
43 Z_PARAM_LONG(ctr.response_code) in PHP_FUNCTION()
46 ctr.line = line; in PHP_FUNCTION()
47 ctr.line_len = len; in PHP_FUNCTION()
55 sapi_header_line ctr = {0}; in PHP_FUNCTION() local
64 ctr.line = line; in PHP_FUNCTION()
65 ctr.line_len = len; in PHP_FUNCTION()
85 sapi_header_line ctr = {0}; in php_setcookie() local
186 ctr.line = ZSTR_VAL(buf.s); in php_setcookie()
187 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
[all …]
/php-src/ext/standard/tests/serialize/
H A Dbug81142.phpt6 $ctr = 0;
7 unserialize(serialize(["foo_$ctr" => 1]));
/php-src/ext/date/tests/
H A Dbug-gh9763.phpt2 Test bug GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset…
/php-src/ext/phar/
H A Dphar_object.c148 sapi_header_line ctr = {0}; in phar_file_action() local
179 ctr.line_len = spprintf((char **) &(ctr.line), 0, "Content-type: %s", mime_type); in phar_file_action()
181 efree((void *) ctr.line); in phar_file_action()
184 efree((void *) ctr.line); in phar_file_action()
305 sapi_header_line ctr = {0}; in phar_do_403() local
307 ctr.response_code = 403; in phar_do_403()
319 sapi_header_line ctr = {0}; in phar_do_404() local
331 ctr.response_code = 404; in phar_do_404()
776 ctr.response_code = 301; in PHP_METHOD()
787 ctr.response_code = 0; in PHP_METHOD()
[all …]
/php-src/main/
H A DSAPI.c630 sapi_header_line ctr = {0}; in sapi_add_header_ex() local
633 ctr.line = header_line; in sapi_add_header_ex()
634 ctr.line_len = header_line_len; in sapi_add_header_ex()
637 &ctr); in sapi_add_header_ex()
H A Dmain.c1450 sapi_header_line ctr = {0}; in php_error_cb() local
1452 ctr.line = "HTTP/1.0 500 Internal Server Error"; in php_error_cb()
1453 ctr.line_len = sizeof("HTTP/1.0 500 Internal Server Error") - 1; in php_error_cb()
1454 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in php_error_cb()
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c1906 sapi_header_line ctr = {0}; in main() local
1908 ctr.line = CGIG(error_header); in main()
1909 ctr.line_len = strlen(CGIG(error_header)); in main()
1910 sapi_header_op(SAPI_HEADER_REPLACE, &ctr); in main()

Completed in 32 milliseconds