From d6172bdb696f8f6c147ec2498d38cc7743f5b920 Mon Sep 17 00:00:00 2001 From: 3x0k1d <3x0k1d@gmail.com> Date: Mon, 5 May 2025 07:28:51 +0300 Subject: [PATCH] redis OOP update --- checkers/php-redis.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/checkers/php-redis.php b/checkers/php-redis.php index df9d0ba..36ee6db 100644 --- a/checkers/php-redis.php +++ b/checkers/php-redis.php @@ -1,15 +1,12 @@ Module name: phpredis'); -echo ('

phpredis is a native PHP extension written in C that provides a fast and efficient interface to communicate with a Redis key-value store. It supports most Redis features. -

'); +include("baseModule.php"); -echo ('

-This PHP script check a basic feauteres of the phpredis extension: -=> Create a Redis client -=> Connect to a Redis server(Connection data in the script itself) -=> Stores a key-value pair (foo = bar) -=> Retrieves and displays the stored value -

'); +$checker = new BaseModule( + "phpredis", + "phpredis is a native PHP extension written in C that provides a fast and efficient interface to communicate with a Redis key-value store. It supports most Redis features..", + "This PHP script check a basic feauteres of the phpredis extension: => Create a Redis client => Connect to a Redis server(Connection data in the script itself) => Stores a key-value pair (foo = bar) => Retrieves and displays the stored value"); + +$checker->printInfo(); $redis = new Redis();