This commit is contained in:
3x0k1d 2025-05-05 06:00:31 +03:00
parent e14cd1dd23
commit 3bed4c72df
2 changed files with 12 additions and 9 deletions

View File

@ -1,14 +1,9 @@
<?php <?php
if (!extension_loaded('igbinary')) echo ('<h3> Module name: igbinary</h3>');
{ echo ('<h3> 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. </h3>');
echo '<p style="color:red">Module: <b>igbinary</b> not loaded</p>';
}
else{
echo '<p style="color:green">Module: <b>igbinary</b> is loaded</p>';
}
$ser = igbinary_serialize(['Module','is', 'working']); $ser = igbinary_serialize(['Module','is', 'working']);
echo urlencode($ser), "\n"; echo urlencode($ser), "<p></p>";
var_export(igbinary_unserialize($ser)); var_export(igbinary_unserialize($ser));

View File

@ -28,7 +28,15 @@ for ($i = 0; $i < count($module_list); $i++) {
} }
else { else {
echo '<p>'. $module_list[$i] .":"; echo '<p>'. $module_list[$i] .":";
echo '<a href="\checkers\\'. $module_list[$i] .'.php">' . 'Тык </a>' . `</[>`; echo '<a href="\checkers\\'. $module_list[$i] .'.php">' . 'Тык </a>' . `</p>`;
if (!extension_loaded($module_list[$i]))
{
echo '<div style="color:red">Module: <b>'. $module_list[$i] . '</b> not loaded</div>';
}
else
{
echo '<div style="color:green">Module: <b>' . $module_list[$i] . '</b> is loaded</div>';
}
} }
} }