���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-includes/Requests/library/block-bindings/Cache.zip
���ѧ٧ѧ�
PK LJu\��oY< < Redis.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\Redis; class_exists('SimplePie\Cache\Redis'); // @trigger_error(sprintf('Using the "SimplePie_Cache_Redis" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Redis" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Redis" instead */ class SimplePie_Cache_Redis extends Redis { } } PK LJu\q��X0 0 DB.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\DB; class_exists('SimplePie\Cache\DB'); // @trigger_error(sprintf('Using the "SimplePie_Cache_DB" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\DB" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\DB" instead */ abstract class SimplePie_Cache_DB extends DB { } } PK LJu\���< < MySQL.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\MySQL; class_exists('SimplePie\Cache\MySQL'); // @trigger_error(sprintf('Using the "SimplePie_Cache_MySQL" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\MySQL" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\MySQL" instead */ class SimplePie_Cache_MySQL extends MySQL { } } PK LJu\�1� BaseDataCache.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; use InvalidArgumentException; /** * Adapter for deprecated \SimplePie\Cache\Base implementations * * @internal */ final class BaseDataCache implements DataCache { /** * @var Base */ private $cache; public function __construct(Base $cache) { $this->cache = $cache; } /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null) { $data = $this->cache->load(); if (!is_array($data)) { return $default; } // ignore data if internal cache expiration time is not set if (!array_key_exists('__cache_expiration_time', $data)) { return $default; } // ignore data if internal cache expiration time is expired if ($data['__cache_expiration_time'] < time()) { return $default; } // remove internal cache expiration time unset($data['__cache_expiration_time']); return $data; } /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array<mixed> $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool { if ($ttl === null) { $ttl = 3600; } // place internal cache expiration time $value['__cache_expiration_time'] = time() + $ttl; return $this->cache->save($value); } /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool { return $this->cache->unlink(); } } PK MJu\����@* @* error_lognu �[��� [18-Dec-2025 00:09:19 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 17 [18-Dec-2025 00:09:20 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\NameFilter" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php:13 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 13 [18-Dec-2025 00:09:20 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 17 [18-Dec-2025 00:09:20 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php:15 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php on line 15 [18-Dec-2025 00:09:20 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php:24 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 24 [18-Dec-2025 00:09:20 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 25 [18-Dec-2025 00:09:21 UTC] PHP Fatal error: Uncaught Error: Class "SimplePie\Cache\DB" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 21 [18-Dec-2025 00:09:21 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php:19 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 19 [18-Dec-2025 00:09:21 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 25 [20-Dec-2025 00:06:58 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 17 [20-Dec-2025 00:06:58 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\NameFilter" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php:13 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 13 [20-Dec-2025 00:06:58 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 17 [20-Dec-2025 00:06:58 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php:15 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php on line 15 [20-Dec-2025 00:06:59 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php:24 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 24 [20-Dec-2025 00:06:59 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 25 [20-Dec-2025 00:06:59 UTC] PHP Fatal error: Uncaught Error: Class "SimplePie\Cache\DB" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 21 [20-Dec-2025 00:06:59 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php:19 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 19 [20-Dec-2025 00:06:59 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 25 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 17 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\NameFilter" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php:13 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 13 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 17 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php:15 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php on line 15 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php:24 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 24 [22-Dec-2025 23:27:49 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 25 [22-Dec-2025 23:27:50 UTC] PHP Fatal error: Uncaught Error: Class "SimplePie\Cache\DB" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 21 [22-Dec-2025 23:27:50 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php:19 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 19 [22-Dec-2025 23:27:50 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 25 [31-Jan-2026 08:31:50 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Redis.php on line 25 [31-Jan-2026 08:32:29 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php:25 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcached.php on line 25 [31-Jan-2026 08:32:47 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php:19 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Psr16.php on line 19 [31-Jan-2026 08:33:00 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/DB.php on line 17 [31-Jan-2026 08:34:36 UTC] PHP Fatal error: Uncaught Error: Class "SimplePie\Cache\DB" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php:21 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/MySQL.php on line 21 [31-Jan-2026 08:35:03 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php:24 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/Memcache.php on line 24 [31-Jan-2026 08:36:22 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\DataCache" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php:17 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/BaseDataCache.php on line 17 [31-Jan-2026 08:36:31 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\NameFilter" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php:13 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/CallableNameFilter.php on line 13 [31-Jan-2026 08:36:34 UTC] PHP Fatal error: Uncaught Error: Interface "SimplePie\Cache\Base" not found in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php:15 Stack trace: #0 {main} thrown in /home/zhaagvlk/public_html/wp-includes/SimplePie/src/Cache/File.php on line 15 PK MJu\h�?= = Base.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\Base; interface_exists('SimplePie\Cache\Base'); // @trigger_error(sprintf('Using the "SimplePie_Cache_Base" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Base" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Base" instead */ interface SimplePie_Cache_Base extends Base { } } PK NJu\��s�� � DataCache.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; use InvalidArgumentException; /** * Subset of PSR-16 Cache client for caching data arrays * * Only get(), set() and delete() methods are used, * but not has(), getMultiple(), setMultiple() or deleteMultiple(). * * The methods names must be different, but should be compatible to the * methods of \Psr\SimpleCache\CacheInterface. * * @internal */ interface DataCache { /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null); /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array<mixed> $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool; /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool; } PK NJu\� ��Q Q Memcache.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\Memcache; class_exists('SimplePie\Cache\Memcache'); // @trigger_error(sprintf('Using the "SimplePie_Cache_Memcache" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Memcache" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Memcache" instead */ class SimplePie_Cache_Memcache extends Memcache { } } PK NJu\��#� � NameFilter.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; /** * Interface for creating a cache filename */ interface NameFilter { /** * Method to create cache filename with. * * The returning name MUST follow the rules for keys in PSR-16. * * @link https://www.php-fig.org/psr/psr-16/ * * The returning name MUST be a string of at least one character * that uniquely identifies a cached item, MUST only contain the * characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding * and MUST not longer then 64 characters. The following characters * are reserved for future extensions and MUST NOT be used: {}()/\@: * * A provided implementing library MAY support additional characters * and encodings or longer lengths, but MUST support at least that * minimum. * * @param string $name The name for the cache will be most likely an url with query string * * @return string the new cache name */ public function filter(string $name): string; } PK NJu\3*�YX X Memcached.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\Memcached; class_exists('SimplePie\Cache\Memcached'); // @trigger_error(sprintf('Using the "SimplePie_Cache_Memcached" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Memcached" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\Memcached" instead */ class SimplePie_Cache_Memcached extends Memcached { } } PK NJu\��F�� � CallableNameFilter.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; /** * Creating a cache filename with callables */ final class CallableNameFilter implements NameFilter { /** * @var callable(string): string */ private $callable; /** * @param callable(string): string $callable */ public function __construct(callable $callable) { $this->callable = $callable; } /** * Method to create cache filename with. * * The returning name MUST follow the rules for keys in PSR-16. * * @link https://www.php-fig.org/psr/psr-16/ * * The returning name MUST be a string of at least one character * that uniquely identifies a cached item, MUST only contain the * characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding * and MUST not longer then 64 characters. The following characters * are reserved for future extensions and MUST NOT be used: {}()/\@: * * A provided implementing library MAY support additional characters * and encodings or longer lengths, but MUST support at least that * minimum. * * @param string $name The name for the cache will be most likely an url with query string * * @return string the new cache name */ public function filter(string $name): string { return call_user_func($this->callable, $name); } } PK NJu\=���� � Psr16.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\Cache; use Psr\SimpleCache\CacheInterface; use Psr\SimpleCache\InvalidArgumentException; use Throwable; /** * Caches data into a PSR-16 cache implementation * * @internal */ final class Psr16 implements DataCache { /** * PSR-16 cache implementation * * @var CacheInterface */ private $cache; /** * PSR-16 cache implementation * * @param CacheInterface $cache */ public function __construct(CacheInterface $cache) { $this->cache = $cache; } /** * Fetches a value from the cache. * * Equivalent to \Psr\SimpleCache\CacheInterface::get() * <code> * public function get(string $key, mixed $default = null): mixed; * </code> * * @param string $key The unique key of this item in the cache. * @param mixed $default Default value to return if the key does not exist. * * @return array|mixed The value of the item from the cache, or $default in case of cache miss. * * @throws InvalidArgumentException&Throwable * MUST be thrown if the $key string is not a legal value. */ public function get_data(string $key, $default = null) { $data = $this->cache->get($key, $default); if (!is_array($data) || $data === $default) { return $default; } return $data; } /** * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time. * * Equivalent to \Psr\SimpleCache\CacheInterface::set() * <code> * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool; * </code> * * @param string $key The key of the item to store. * @param array<mixed> $value The value of the item to store, must be serializable. * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and * the driver supports TTL then the library may set a default value * for it or let the driver take care of that. * * @return bool True on success and false on failure. * * @throws InvalidArgumentException&Throwable * MUST be thrown if the $key string is not a legal value. */ public function set_data(string $key, array $value, ?int $ttl = null): bool { return $this->cache->set($key, $value, $ttl); } /** * Delete an item from the cache by its unique key. * * Equivalent to \Psr\SimpleCache\CacheInterface::delete() * <code> * public function delete(string $key): bool; * </code> * * @param string $key The unique cache key of the item to delete. * * @return bool True if the item was successfully removed. False if there was an error. * * @throws InvalidArgumentException&Throwable * MUST be thrown if the $key string is not a legal value. */ public function delete_data(string $key): bool { return $this->cache->delete($key); } } PK NJu\Q�5 5 File.phpnu �[��� <?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); use SimplePie\Cache\File; class_exists('SimplePie\Cache\File'); // @trigger_error(sprintf('Using the "SimplePie_Cache_File" class is deprecated since SimplePie 1.7.0, use "SimplePie\Cache\File" instead.'), \E_USER_DEPRECATED); /** @phpstan-ignore-next-line */ if (\false) { /** @deprecated since SimplePie 1.7.0, use "SimplePie\Cache\File" instead */ class SimplePie_Cache_File extends File { } } PK ��u\9��ܤ � .htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK ��u\w�u�� � CacheException.phpnu �[��� <?php namespace Doctrine\DBAL\Cache; use Doctrine\DBAL\Exception; /** @psalm-immutable */ class CacheException extends Exception { /** @return CacheException */ public static function noCacheKey() { return new self('No cache key was set.'); } /** @return CacheException */ public static function noResultDriverConfigured() { return new self('Trying to cache a query but no result driver is configured.'); } } PK ��u\q�}�q q QueryCacheProfile.phpnu �[��� <?php namespace Doctrine\DBAL\Cache; use Doctrine\Common\Cache\Cache; use Doctrine\Common\Cache\Psr6\CacheAdapter; use Doctrine\Common\Cache\Psr6\DoctrineProvider; use Doctrine\DBAL\Types\Type; use Doctrine\Deprecations\Deprecation; use Psr\Cache\CacheItemPoolInterface; use TypeError; use function get_class; use function hash; use function serialize; use function sha1; use function sprintf; /** * Query Cache Profile handles the data relevant for query caching. * * It is a value object, setter methods return NEW instances. */ class QueryCacheProfile { private ?CacheItemPoolInterface $resultCache = null; /** @var int */ private $lifetime; /** @var string|null */ private $cacheKey; /** * @param int $lifetime * @param string|null $cacheKey * @param CacheItemPoolInterface|Cache|null $resultCache */ public function __construct($lifetime = 0, $cacheKey = null, ?object $resultCache = null) { $this->lifetime = $lifetime; $this->cacheKey = $cacheKey; if ($resultCache instanceof CacheItemPoolInterface) { $this->resultCache = $resultCache; } elseif ($resultCache instanceof Cache) { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4620', 'Passing an instance of %s to %s as $resultCache is deprecated. Pass an instance of %s instead.', Cache::class, __METHOD__, CacheItemPoolInterface::class, ); $this->resultCache = CacheAdapter::wrap($resultCache); } elseif ($resultCache !== null) { throw new TypeError(sprintf( '$resultCache: Expected either null or an instance of %s or %s, got %s.', CacheItemPoolInterface::class, Cache::class, get_class($resultCache), )); } } public function getResultCache(): ?CacheItemPoolInterface { return $this->resultCache; } /** * @deprecated Use {@see getResultCache()} instead. * * @return Cache|null */ public function getResultCacheDriver() { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4620', '%s is deprecated, call getResultCache() instead.', __METHOD__, ); return $this->resultCache !== null ? DoctrineProvider::wrap($this->resultCache) : null; } /** @return int */ public function getLifetime() { return $this->lifetime; } /** * @return string * * @throws CacheException */ public function getCacheKey() { if ($this->cacheKey === null) { throw CacheException::noCacheKey(); } return $this->cacheKey; } /** * Generates the real cache key from query, params, types and connection parameters. * * @param string $sql * @param list<mixed>|array<string, mixed> $params * @param array<int, Type|int|string|null>|array<string, Type|int|string|null> $types * @param array<string, mixed> $connectionParams * * @return array{string, string} */ public function generateCacheKeys($sql, $params, $types, array $connectionParams = []) { if (isset($connectionParams['password'])) { unset($connectionParams['password']); } $realCacheKey = 'query=' . $sql . '¶ms=' . serialize($params) . '&types=' . serialize($types) . '&connectionParams=' . hash('sha256', serialize($connectionParams)); // should the key be automatically generated using the inputs or is the cache key set? $cacheKey = $this->cacheKey ?? sha1($realCacheKey); return [$cacheKey, $realCacheKey]; } public function setResultCache(CacheItemPoolInterface $cache): QueryCacheProfile { return new QueryCacheProfile($this->lifetime, $this->cacheKey, $cache); } /** * @deprecated Use {@see setResultCache()} instead. * * @return QueryCacheProfile */ public function setResultCacheDriver(Cache $cache) { Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4620', '%s is deprecated, call setResultCache() instead.', __METHOD__, ); return new QueryCacheProfile($this->lifetime, $this->cacheKey, CacheAdapter::wrap($cache)); } /** * @param string|null $cacheKey * * @return QueryCacheProfile */ public function setCacheKey($cacheKey) { return new QueryCacheProfile($this->lifetime, $cacheKey, $this->resultCache); } /** * @param int $lifetime * * @return QueryCacheProfile */ public function setLifetime($lifetime) { return new QueryCacheProfile($lifetime, $this->cacheKey, $this->resultCache); } } PK ��u\��KZ[ [ ArrayResult.phpnu �[��� <?php namespace Doctrine\DBAL\Cache; use Doctrine\DBAL\Driver\FetchUtils; use Doctrine\DBAL\Driver\Result; use function array_values; use function count; use function reset; /** @internal The class is internal to the caching layer implementation. */ final class ArrayResult implements Result { /** @var list<array<string, mixed>> */ private array $data; private int $columnCount = 0; private int $num = 0; /** @param list<array<string, mixed>> $data */ public function __construct(array $data) { $this->data = $data; if (count($data) === 0) { return; } $this->columnCount = count($data[0]); } /** * {@inheritDoc} */ public function fetchNumeric() { $row = $this->fetch(); if ($row === false) { return false; } return array_values($row); } /** * {@inheritDoc} */ public function fetchAssociative() { return $this->fetch(); } /** * {@inheritDoc} */ public function fetchOne() { $row = $this->fetch(); if ($row === false) { return false; } return reset($row); } /** * {@inheritDoc} */ public function fetchAllNumeric(): array { return FetchUtils::fetchAllNumeric($this); } /** * {@inheritDoc} */ public function fetchAllAssociative(): array { return FetchUtils::fetchAllAssociative($this); } /** * {@inheritDoc} */ public function fetchFirstColumn(): array { return FetchUtils::fetchFirstColumn($this); } public function rowCount(): int { return count($this->data); } public function columnCount(): int { return $this->columnCount; } public function free(): void { $this->data = []; } /** @return array<string, mixed>|false */ private function fetch() { if (! isset($this->data[$this->num])) { return false; } return $this->data[$this->num++]; } } PK LJu\��oY< < Redis.phpnu �[��� PK LJu\q��X0 0 u DB.phpnu �[��� PK LJu\���< < � MySQL.phpnu �[��� PK LJu\�1� P BaseDataCache.phpnu �[��� PK MJu\����@* @* � error_lognu �[��� PK MJu\h�?= = @ Base.phpnu �[��� PK NJu\��s�� � �B DataCache.phpnu �[��� PK NJu\� ��Q Q �M Memcache.phpnu �[��� PK NJu\��#� � ;P NameFilter.phpnu �[��� PK NJu\3*�YX X U Memcached.phpnu �[��� PK NJu\��F�� � �W CallableNameFilter.phpnu �[��� PK NJu\=���� � �] Psr16.phpnu �[��� PK NJu\Q�5 5 �j File.phpnu �[��� PK ��u\9��ܤ � 7m .htaccessnu �[��� PK ��u\w�u�� � o CacheException.phpnu �[��� PK ��u\q�}�q q #q QueryCacheProfile.phpnu �[��� PK ��u\��KZ[ [ م ArrayResult.phpnu �[��� PK s�
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�