apache2checker/checkers/php-igbinary.php
2025-05-05 06:03:17 +03:00

11 lines
690 B
PHP

<?php
echo ('<h3> Module name: igbinary</h3>');
echo ('<h4> 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. </h4>');
echo ('<p>Original text: Module if working</p>');
$ser = igbinary_serialize(['Module','is', 'working']);
echo urlencode($ser);
var_export(igbinary_unserialize($ser));