Home
last modified time | relevance | path

Searched refs:response_code (Results 1 – 12 of 12) 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
672 response_code = 0; in php_stream_url_wrap_http_ex()
685 if (response_code >= 100 && response_code < 200 && response_code != 101) { in php_stream_url_wrap_http_ex()
696 response_code = 0; in php_stream_url_wrap_http_ex()
702 if (response_code >= 200 && response_code < 400) { in php_stream_url_wrap_http_ex()
705 switch(response_code) { in php_stream_url_wrap_http_ex()
708 tmp_line, response_code); in php_stream_url_wrap_http_ex()
716 tmp_line, response_code); in php_stream_url_wrap_http_ex()
788 } else if (!((response_code >= 300 && response_code < 304) in php_stream_url_wrap_http_ex()
789 || 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.c702 packet->response_code = uint1korr(p); in php_mysqlnd_auth_response_read()
706 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_auth_response_read()
713 if (0xFE == packet->response_code) { in php_mysqlnd_auth_response_read()
1947 packet->response_code = uint1korr(p); in php_mysqlnd_chg_user_read()
1956 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_chg_user_read()
2133 packet->response_code = uint1korr(p); in php_mysqlnd_cached_sha2_result_read()
2137 if (ERROR_MARKER == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2144 if (0xFE == packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2162 if (0x1 != packet->response_code) { in php_mysqlnd_cached_sha2_result_read()
2163 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()
/PHP-8.1/ext/mysqli/tests/
H A Dfake_server.inc265 $pr1->response_code = '00'; // OK

Completed in 70 milliseconds