Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/
H A Dhttp_fopen_wrapper.c147 int response_code; in php_stream_url_wrap_http_ex() local
666 response_code = 0; in php_stream_url_wrap_http_ex()
679 if (response_code >= 100 && response_code < 200 && response_code != 101) { in php_stream_url_wrap_http_ex()
690 response_code = 0; in php_stream_url_wrap_http_ex()
696 if (response_code >= 200 && response_code < 400) { in php_stream_url_wrap_http_ex()
699 switch(response_code) { in php_stream_url_wrap_http_ex()
702 tmp_line, response_code); in php_stream_url_wrap_http_ex()
710 tmp_line, response_code); in php_stream_url_wrap_http_ex()
782 } else if (!((response_code >= 300 && response_code < 304) in php_stream_url_wrap_http_ex()
783 || 307 == response_code || 308 == response_code)) { in php_stream_url_wrap_http_ex()
[all …]
H A Dhead.c43 Z_PARAM_LONG(ctr.response_code) in PHP_FUNCTION()
358 zend_long response_code = 0; in PHP_FUNCTION() local
362 Z_PARAM_LONG(response_code) in PHP_FUNCTION()
365 if (response_code) in PHP_FUNCTION()
370 SG(sapi_headers).http_response_code = (int)response_code; in PHP_FUNCTION()
H A Dbasic_functions.stub.php661 function header(string $header, bool $replace = true, int $response_code = 0): void {} argument
669 function http_response_code(int $response_code = 0): int|bool {} argument
H A Dbasic_functions_arginfo.h742 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
762 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h103 uint8_t response_code; member
254 uint32_t response_code; member
282 uint8_t response_code; member
H A Dmysqlnd_auth.c325 if (FAIL == PACKET_READ(conn, &auth_resp_packet) || auth_resp_packet.response_code >= 0xFE) { in mysqlnd_auth_handshake()
326 if (auth_resp_packet.response_code == 0xFE) { in mysqlnd_auth_handshake()
343 } else if (auth_resp_packet.response_code == 0xFF) { in mysqlnd_auth_handshake()
454 if (0xFE == chg_user_resp.response_code) { in mysqlnd_auth_change_user()
1250 switch (result_packet.response_code) { in mysqlnd_caching_sha2_handle_server_response()
1286 …g, 0, "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()
1895 packet->response_code = uint1korr(p); in php_mysqlnd_chg_user_read()
1904 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_chg_user_read()
2081 packet->response_code = uint1korr(p); in php_mysqlnd_cached_sha2_result_read()
2085 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2092 if (0xFE == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2110 if (0x1 != packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2111 DBG_ERR_FMT("Unexpected response code %d", packet->response_code); in php_mysqlnd_cached_sha2_result_read()
[all …]
/PHP-8.1/main/
H A DSAPI.h167 zend_long response_code; /* long due to zend_parse_parameters compatibility */ member
H A DSAPI.c697 http_response_code = p->response_code; in sapi_header_op()
/PHP-8.1/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.1/ext/phar/
H A Dphar_object.c299 ctr.response_code = 403; in phar_do_403()
323 ctr.response_code = 404; in phar_do_404()
758 ctr.response_code = 301; in PHP_METHOD()
769 ctr.response_code = 0; in PHP_METHOD()

Completed in 79 milliseconds