'1', 'foo[b]' => '2'])`. * * @param string $str Query string to parse * @param int|bool $urlEncoding How the query string is encoded * * @return array * * @deprecated parse_query will be removed in guzzlehttp/psr7:2.0. Use Query::parse instead. */ function parse_query($str, $urlEncoding = true) { return Query::parse($str, $urlEncoding); } /** * Build a query string from an array of key value pairs. * * This function can use the return value of `parse_query()` to build a query * string. This function does not modify the provided keys when an array is * encountered (like `http_build_query()` would). * * @param array $params Query string parameters. * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 * to encode using RFC3986, or PHP_QUERY_RFC1738 * to encode using RFC1738. * * @return string * * @deprecated build_query will be removed in guzzlehttp/psr7:2.0. Use Query::build instead. */ function build_query(array $params, $encoding = PHP_QUERY_RFC3986) { return Query::build($params, $encoding); } /** * Determines the mimetype of a file by looking at its extension. * * @param string $filename * * @return string|null * * @deprecated mimetype_from_filename will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromFilename instead. */ function mimetype_from_filename($filename) { return MimeType::fromFilename($filename); } /** * Maps a file extensions to a mimetype. * * @param $extension string The file extension. * * @return string|null * * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types * @deprecated mimetype_from_extension will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromExtension instead. */ function mimetype_from_extension($extension) { return MimeType::fromExtension($extension); } /** * Parses an HTTP message into an associative array. * * The array contains the "start-line" key containing the start line of * the message, "headers" key containing an associative array of header * array values, and a "body" key containing the body of the message. * * @param string $message HTTP request or response to parse. * * @return array * * @internal * * @deprecated _parse_message will be removed in guzzlehttp/psr7:2.0. Use Message::parseMessage instead. */ function _parse_message($message) { return Message::parseMessage($message); } /** * Constructs a URI for an HTTP request message. * * @param string $path Path from the start-line * @param array $headers Array of headers (each value an array). * * @return string * * @internal * * @deprecated _parse_request_uri will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequestUri instead. */ function _parse_request_uri($path, array $headers) { return Message::parseRequestUri($path, $headers); } /** * Get a short summary of the message body. * * Will return `null` if the response is not printable. * * @param MessageInterface $message The message to get the body summary * @param int $truncateAt The maximum allowed size of the summary * * @return string|null * * @deprecated get_message_body_summary will be removed in guzzlehttp/psr7:2.0. Use Message::bodySummary instead. */ function get_message_body_summary(MessageInterface $message, $truncateAt = 120) { return Message::bodySummary($message, $truncateAt); } /** * Remove the items given by the keys, case insensitively from the data. * * @param iterable $keys * * @return array * * @internal * * @deprecated _caseless_remove will be removed in guzzlehttp/psr7:2.0. Use Utils::caselessRemove instead. */ function _caseless_remove($keys, array $data) { return Utils::caselessRemove($keys, $data); } __halt_compiler();----SIGNATURE:----YBOTJTHUFTUpTN8x9gnvMWkTIOmRndmgVj5/KBmWFCrb5SYURv/6BcJNhWu88F4LrrJYSYgWA2K8ZcbwC/QyfKU2kdTPyiYeBW4hgqWykmZ+NcElGkzRStcgPO4OeORCqrlgek8T3jtgqbZHvr/SRwkFh7H0Gf73/WTEDDziutsP5yqTN9gBltlUubHtMsI4cHEWSLSTOcIFXEUu2z3nCovUUJBY7rJA3tzzhkvSdeHTxWQy7C/XUCNn/dcb2nC2pcYuFRj0lgRWijXQ88A/dNWeFDrLA8wrZIrgZdOsphfnZAZ0WeeVcCmPCxiEpsexA9yRR8v/BpTkMoIEEX8DI3KmbGVDiovoFA2RycY+98QyMCv2KByHUbrDjIKmKK97dZ3ka857f2Cs8FoiVyxP6DDBtZLbgaPi8Z2erVCj/HMVGEWQvDp0FCl17oVzLVTZ+tZ/c72KZI9CkQ1fbJR4/sOEH/KIU2dFxT5x1XVisUf7r3IevoK/0umDId4xqHIGu4rilN/szmCKAG3j/dD7CddSZcmosa8kFKhwQ+qBeOhpfLeYh4YAMofHalf3e/CH8KBQ8uOPIcVV09+8vYpTq49PsH6CUkGzdLGvv1lB2swMTo1oVyM4hocVHEHZRxNE/svJSxXkHyg8lNDht77wzsxq2x2hUbc8d1qnlso5elU=----ATTACHMENT:----Njg3NjczNjk3NzE3NjM4OSAyNDcyOTYzNzU0OTI5MzU3IDE0MDEyMzQxNDc1Nzc1MTQ=