PHP.nl

apcu_sma_info

apcu_sma_info

Retrieves APCu Shared Memory Allocation information

 **apcu_sma_info** bool $limited

Retrieves APCu Shared Memory Allocation information.

limited When set to false (default) will return a detailed information about each segment. apcu_sma_info

Array of Shared Memory Allocation data; false on failure.

Voorbeeld: A example

<?php
print_r(apcu_sma_info());
?>
Array
(
    [num_seg] => 1
    [seg_size] => 31457280
    [avail_mem] => 31448408
    [block_lists] => Array
        (
            [0] => Array
                (
                    [0] => Array
                        (
                            [size] => 31448408
                            [offset] => 8864
                        )

                )

        )

)

APCu configuration directives