Home
last modified time | relevance | path

Searched refs:response_code (Results 1 – 11 of 11) sorted by relevance

/PHP-8.0/ext/standard/
H A Dhttp_fopen_wrapper.c146 int response_code; in php_stream_url_wrap_http_ex() local
666 response_code = atoi(tmp_line + 9); in php_stream_url_wrap_http_ex()
668 response_code = 0; in php_stream_url_wrap_http_ex()
681 if (response_code >= 100 && response_code < 200 && response_code != 101) { in php_stream_url_wrap_http_ex()
692 response_code = 0; in php_stream_url_wrap_http_ex()
698 if (response_code >= 200 && response_code < 400) { in php_stream_url_wrap_http_ex()
701 switch(response_code) { in php_stream_url_wrap_http_ex()
704 tmp_line, response_code); in php_stream_url_wrap_http_ex()
712 tmp_line, response_code); in php_stream_url_wrap_http_ex()
784 } else if (!((response_code >= 300 && response_code < 304) in php_stream_url_wrap_http_ex()
[all …]
H A Dhead.c43 Z_PARAM_LONG(ctr.response_code) in PHP_FUNCTION()
357 zend_long response_code = 0; in PHP_FUNCTION() local
361 Z_PARAM_LONG(response_code) in PHP_FUNCTION()
364 if (response_code) in PHP_FUNCTION()
369 SG(sapi_headers).http_response_code = (int)response_code; in PHP_FUNCTION()
H A Dbasic_functions.stub.php497 function header(string $header, bool $replace = true, int $response_code = 0): void {} argument
505 function http_response_code(int $response_code = 0): int|bool {} argument
H A Dbasic_functions_arginfo.h738 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
758 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h103 uint8_t response_code; member
256 uint32_t response_code; member
284 uint8_t response_code; member
H A Dmysqlnd_auth.c330 if (FAIL == PACKET_READ(conn, &auth_resp_packet) || auth_resp_packet.response_code >= 0xFE) { in mysqlnd_auth_handshake()
331 if (auth_resp_packet.response_code == 0xFE) { in mysqlnd_auth_handshake()
348 } else if (auth_resp_packet.response_code == 0xFF) { in mysqlnd_auth_handshake()
459 if (0xFE == chg_user_resp.response_code) { in mysqlnd_auth_change_user()
1247 switch (result_packet.response_code) { in mysqlnd_caching_sha2_handle_server_response()
1282 …NING, "Unexpected server response while doing caching_sha2 auth: %i", result_packet.response_code); in mysqlnd_caching_sha2_handle_server_response()
H A Dmysqlnd_wireprotocol.c679 packet->response_code = uint1korr(p); in php_mysqlnd_auth_response_read()
683 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_auth_response_read()
690 if (0xFE == packet->response_code) { in php_mysqlnd_auth_response_read()
1999 packet->response_code = uint1korr(p); in php_mysqlnd_chg_user_read()
2008 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_chg_user_read()
2185 packet->response_code = uint1korr(p); in php_mysqlnd_cached_sha2_result_read()
2189 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2196 if (0xFE == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2214 if (0x1 != packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2215 DBG_ERR_FMT("Unexpected response code %d", packet->response_code); in php_mysqlnd_cached_sha2_result_read()
[all …]
/PHP-8.0/main/
H A DSAPI.h167 zend_long response_code; /* long due to zend_parse_parameters compatibility */ member
H A DSAPI.c693 http_response_code = p->response_code; in sapi_header_op()
/PHP-8.0/sapi/cli/
H A Dphp_cli_server.c334 static void append_http_status_line(smart_str *buffer, int protocol_version, int response_code, int… in append_http_status_line() argument
336 if (!response_code) { in append_http_status_line()
337 response_code = 200; in append_http_status_line()
345 smart_str_append_long_ex(buffer, response_code, persistent); in append_http_status_line()
347 smart_str_appends_ex(buffer, get_status_string(response_code), persistent); in append_http_status_line()
/PHP-8.0/ext/phar/
H A Dphar_object.c300 ctr.response_code = 403; in phar_do_403()
324 ctr.response_code = 404; in phar_do_404()
759 ctr.response_code = 301; in PHP_METHOD()
770 ctr.response_code = 0; in PHP_METHOD()

Completed in 78 milliseconds