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

SyncSharedMemory::size - Returns the size of the named shared memory | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SyncSharedMemory::size

(PECL sync >= 1.1.0)

SyncSharedMemory::sizeReturns the size of the named shared memory

説明

public bool SyncSharedMemory::size ( void )

Retrieves the shared memory size of a SyncSharedMemory object.

パラメータ

この関数にはパラメータはありません。

返り値

An integer containing the size of the shared memory. This will be the same size that was passed to the constructor.

例1 SyncSharedMemory::size() example

<?php
$mem 
= new SyncSharedMemory("AppReportName"1024);
var_dump($mem->size());
?>

上の例の出力は、 たとえば以下のようになります。

int(1024)

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「SyncSharedMemory::size - Returns the size of the named shared memory」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SyncSharedMemory::size - Returns the size of the named shared memory」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: