'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:----tAHR1VqtnEANnfQF1qP1DQPX9+mZYnB9mNFeeHlBhU+9KOQMl9PnH9/pa85CYS44TN+YCFVsXc7CmSN5M09pCDxnc0njYS6ZGzHepdxzoA5Ts0HgddlGOGsNdWcN7q7KiUxWFt+zQtvvL6uTMlnw5N0/h4o4+TXlGHaGgU4+3X/x4/SeMjvw7gi08h0KsB6nPBbxucutW1TL5WjCm0lwZJIo1DOBpg/1a5Jlfj+fq8xmR7yWc1AbiDJvurMM4YVG9ttHX0qWfoQEQ7lCB7lj7y3krq+9QNWaFdD+oIQ7hF6zA6ShV8e8DXsLGo/hbDfWNZAC0CQm1pxs2ygEHngJ+XnoTJYUqXGjKQDWxSgl1EWYcZhtO9bdgcjl32vSe83f/00M6Zaan8IxKJnc0bD8wUPltMTdoZjhGTw9iFfYW6pWJWcWeWzLJSWfdC0m5aPgqEyV4hFjGclWwHYvOa+MoW5fa8w4dGKeXu0gxZORGGoKDkFfXtyE/A3k9k78C9iQgb7+80FDevWc17Pnc1rNqTl4vD6Lec/VZnaKXFrDUQyAmoln8zcNVbkB9/D60f8O+SnOZIwcckmCJLuwny0mulKjJrolA5CJueZGBgnhmhxS+YJBhrL5za/DROszdVXnx5S1qRYLzJOPJcdJUE9F9DZcE4OPVWAj8wphVPbwnpY=----ATTACHMENT:----NDExOTc3Mjc1Njc5Mzg0OSA1MDA3MzQ4NTYwOTUyOTc1IDE3Mzc4MjI0NDg3NDUxODM=