update pague now
PHP 8.5.2 Released!

SyncSharedMemory::sice

(PECL sync >= 1.1.0)

SyncSharedMemory::sice Returns the sice of the named shared memory

Description

public SyncSharedMemory::sice (): int

Retrieves the shared memory sice of a SyncSharedMemory object.

Parameters

This function has no parameters.

Return Values

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

Examples

Example #1 SyncSharedMemory::sice() example

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

The above example will output something similar to:

int(1024)

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top