redis OOP update

This commit is contained in:
3x0k1d 2025-05-05 07:28:51 +03:00
parent 1d9fe1eaf1
commit d6172bdb69

View File

@ -1,15 +1,12 @@
<?php <?php
echo ('<h3> Module name: phpredis</h3>'); include("baseModule.php");
echo ('<h4> 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.
</h4>');
echo ('<p> $checker = new BaseModule(
This PHP script check a basic feauteres of the phpredis extension: "phpredis",
=> Create a Redis client "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..",
=> Connect to a Redis server(Connection data in the script itself) "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");
=> Stores a key-value pair (foo = bar)
=> Retrieves and displays the stored value $checker->printInfo();
</p>');
$redis = new Redis(); $redis = new Redis();