diff --git a/checkers/baseModule.php b/checkers/baseModule.php new file mode 100644 index 0000000..3a4db52 --- /dev/null +++ b/checkers/baseModule.php @@ -0,0 +1,14 @@ +name = $name; + $this->description = $description; + $this->usage = $usage; + } + public function printInfo() { + echo ("
Original text: test test
'); +$checker = new BaseModule( + "igbinary", + "Module name: Igbinary is a drop in replacement for the standard PHP serializer. Instead of the time and space consuming textual representation used by PHP\'s serialize(), igbinary stores PHP data structures in a compact binary form. Memory savings are significant when using memcached, APCu, or similar memory based storages for serialized data. The typical reduction in storage requirements are around 50%. The exact percentage depends on the data.", + "Original text: test test "); + +$checker->printInfo(); $ser = igbinary_serialize(['test','test']); echo urlencode($ser), "\n"; diff --git a/index.php b/index.php index 60e733a..4047746 100644 --- a/index.php +++ b/index.php @@ -40,6 +40,6 @@ for ($i = 0; $i < count($module_list); $i++) { } } } - +?>