redis OOP update
This commit is contained in:
parent
1d9fe1eaf1
commit
d6172bdb69
@ -1,15 +1,12 @@
|
||||
<?php
|
||||
echo ('<h3> Module name: phpredis</h3>');
|
||||
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>');
|
||||
include("baseModule.php");
|
||||
|
||||
echo ('<p>
|
||||
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
|
||||
</p>');
|
||||
$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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user