Home
last modified time | relevance | path

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

/PHP-7.2/ext/soap/
H A Dphp_sdl.c291 zval new_header; in sdl_set_uri_credentials() local
294 ZVAL_NEW_STR(&new_header, zend_string_alloc(Z_STRLEN_P(header) - (rest - s), 0)); in sdl_set_uri_credentials()
295 memcpy(Z_STRVAL(new_header), Z_STRVAL_P(header), s - Z_STRVAL_P(header)); in sdl_set_uri_credentials()
296 …memcpy(Z_STRVAL(new_header) + (s - Z_STRVAL_P(header)), rest, Z_STRLEN_P(header) - (rest - Z_STRVA… in sdl_set_uri_credentials()
298 php_stream_context_set_option(ctx->context, "http", "header", &new_header); in sdl_set_uri_credentials()
299 zval_ptr_dtor(&new_header); in sdl_set_uri_credentials()

Completed in 11 milliseconds