PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

apcu_sma_info - Retrieves APCu Shared Memory Allocation information | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

apcu_sma_info

(PECL apcu >= 4.0.0)

apcu_sma_info Retrieves APCu Shared Memory Allocation information

説明

array apcu_sma_info ([ bool $limited = false ] )

Retrieves APCu Shared Memory Allocation information.

パラメータ

limited

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

返り値

Array of Shared Memory Allocation data; FALSE on failure.

例1 A apcu_sma_info() 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_sma_info - Retrieves APCu Shared Memory Allocation information」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | apcu_sma_info - Retrieves APCu Shared Memory Allocation information」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: