meme
This commit is contained in:
parent
e14cd1dd23
commit
3bed4c72df
@ -1,14 +1,9 @@
|
||||
<?php
|
||||
if (!extension_loaded('igbinary'))
|
||||
{
|
||||
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>';
|
||||
}
|
||||
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>');
|
||||
|
||||
$ser = igbinary_serialize(['Module','is', 'working']);
|
||||
echo urlencode($ser), "\n";
|
||||
echo urlencode($ser), "<p></p>";
|
||||
var_export(igbinary_unserialize($ser));
|
||||
|
||||
|
||||
|
||||
10
index.php
10
index.php
@ -28,7 +28,15 @@ for ($i = 0; $i < count($module_list); $i++) {
|
||||
}
|
||||
else {
|
||||
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>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user