diff --git a/checkers/php-igbinary.php b/checkers/php-igbinary.php index e71d182..7ff4d94 100644 --- a/checkers/php-igbinary.php +++ b/checkers/php-igbinary.php @@ -1,14 +1,9 @@ Module: igbinary not loaded

'; -} -else{ - echo '

Module: igbinary is loaded

'; -} +echo ('

Module name: igbinary

'); +echo ('

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.

'); $ser = igbinary_serialize(['Module','is', 'working']); -echo urlencode($ser), "\n"; +echo urlencode($ser), "

"; var_export(igbinary_unserialize($ser)); diff --git a/index.php b/index.php index 8cbac24..1efc4fd 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,15 @@ for ($i = 0; $i < count($module_list); $i++) { } else { echo '

'. $module_list[$i] .":"; - echo '' . 'Тык ' . ``; + echo '' . 'Тык ' . `

`; + if (!extension_loaded($module_list[$i])) + { + echo '
Module: '. $module_list[$i] . ' not loaded
'; + } + else + { + echo '
Module: ' . $module_list[$i] . ' is loaded
'; + } } }