From 3bed4c72df824449dacae1d12dac67b15e42c0d2 Mon Sep 17 00:00:00 2001 From: 3x0k1d <3x0k1d@gmail.com> Date: Mon, 5 May 2025 06:00:31 +0300 Subject: [PATCH] meme --- checkers/php-igbinary.php | 11 +++-------- index.php | 10 +++++++++- 2 files changed, 12 insertions(+), 9 deletions(-) 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
'; + } } }