123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?php
- namespace GuzzleHttp;
- function describe_type($input): string
- {
- return Utils::describeType($input);
- }
- function headers_from_lines(iterable $lines): array
- {
- return Utils::headersFromLines($lines);
- }
- function debug_resource($value = null)
- {
- return Utils::debugResource($value);
- }
- function choose_handler(): callable
- {
- return Utils::chooseHandler();
- }
- function default_user_agent(): string
- {
- return Utils::defaultUserAgent();
- }
- function default_ca_bundle(): string
- {
- return Utils::defaultCaBundle();
- }
- function normalize_header_keys(array $headers): array
- {
- return Utils::normalizeHeaderKeys($headers);
- }
- function is_host_in_noproxy(string $host, array $noProxyArray): bool
- {
- return Utils::isHostInNoProxy($host, $noProxyArray);
- }
- function json_decode(string $json, bool $assoc = false, int $depth = 512, int $options = 0)
- {
- return Utils::jsonDecode($json, $assoc, $depth, $options);
- }
- function json_encode($value, int $options = 0, int $depth = 512): string
- {
- return Utils::jsonEncode($value, $options, $depth);
- }
|