'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:----kyf20BTNEDLVqi8ylG4f1YVmFtcPy7awJbYlNMeIc8Prb0JszxQtWZTQkh+3UHu8iOdLqnFnBZ3NCXSJ85QVK2eW4ej9RzLFkQXEOYRDNJRMawgWBv1fPSA+QmfKHHX63qswIFz153fKb6Odd+6FQlJDFxtRMHQjxlIO1TBQuwlj35dD9hkaL2nawVZ8R+ZyQ5+/U7kxfXfJ9UKM7s6boD6I5HBiehy+zzKKu3EZuDdNXIoplhMJtGYJBerVo1xOf0+8V9MKQ050kppZBmb06TPqHQFevCeIK4NQEgl/FIrc1cItBhtb3ABWCqKn+n0Bbm4k9/Kx5KrqH22+uc0aobMBN3zZD4UFmHQiIMPcFuG7qY9i83ddDc/9ZA4BtIGVWXoqbH/A9xQnnx5HJzYbrImZrUHZYwc7O7V4B/gwTGd+a2td/zOrZ6aEfCDnbfJfugR9LIK1dT4ecU3RwRXiZkBiwE6BBEJiNeaxn1N/uUd+r0Dl5LVHwcgKTr2xqPk5e1bEgVBqQQOYvLTVAFSsJIyx9DA7rr8SatQ32TFOJzMU8MdWGsw7bScSaQRIhqomtR1ehZJNJ0XTXSU/Rnc7zlWrr6qjLyalJ37coJHR0qpHsbU1T62dMQo9YB5pSaDyJCK7aLAan/MFe7AXPKk5l82XrhhjqBrr7NmB402qKz0=----ATTACHMENT:----MTM0NDA4NjYwODU2Njc0NiA5Nzc4MDQ4MTczNzk5ODg2IDc3NzQwOTgxOTYzMjc3Njk=