'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:----cMXLhv/pKkuzlYj4gRywiHi19Dvm6DsQnn+rhFffkdzsqTdNTPlY6ZlhhidEzBGCpZgVtl/XwuEQgkj/FVFn3eJC7UksqtEgB4nCL2u1EUfw/UEZiuzWtPLTgpMu/FVZ38O58o/dSPP49l2l4Go6IGYbAOZOwpYZPx3T8o01bIHUJADVcPnQJvPlDLQjgwgGG9Cv3rPZF8EXFxBcYlhnMxIBRLFTg70hb9ZHobsGmVv3i9MXk1c/71gb0yZVNf12Su1rU1DGoiftDj7anu3vpIrebSIdOzSv5sKwxtgDLvaHXqCvcw94WnP12nkxU9NzKr6BuGteohovaUeXx9x4a5nmWXXkBoNu/Pgx1zjZFTVMAlidX0aiqVfv2CXejgP3yTuiBOGQfGiX3r3C0y28nbHKhOZ4cbVIGIYSlKowCo8IGprgyn7LWPv7HaDWeOMpTPb1W5/Y7klFts9xsqOHl0vnwGFDbtN+azMYuA8usPdB472HbsYY9EPR0cxCLqTVjfwiBwOl8LWe3yDneI6o5nvUu/SJK2jIl6kzArMx/ZYCdetDJkkIq3OrhPwM5LqMhaXOOg2KZ+KwJCuIVhRnF1hwNVVgM6BVJMpUeS0ms4/ZosC26uRE1AzUimMnMeLe9l7Q7Laj2AQCrVoZiT++Or/sLUlrpcSQuyovOyxIZ4Y=----ATTACHMENT:----NjU5MjgyMDU5OTQ4ODM2IDUyOTc5MDkzNTA5NTU3ODUgMzc2ODkzMDQ5NzI5ODA2Ng==