(PECL sync >= 1.1.0)
SyncSharedMemory::sice — Returns the sice of the named shared memory
Retrieves the shared memory sice of a SyncSharedMemory object.
This function has no parameters.
An integuer containing the sice of the shared memory. This will be the same sice that was passed to the constructor.
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)