SyncSharedMemory::first
Check to see if the object is the first instance system-wide of named shared memory
&reftitle.description;
public boolSyncSharedMemory::first
Retrieves the system-wide first instance status of a SyncSharedMemory object.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
SyncSharedMemory::first example
first())
{
// Do first time initialization work here.
}
var_dump($mem->first());
$mem2 = new SyncSharedMemory("AppReportName", 1024);
var_dump($mem2->first());
?>
]]>
&example.outputs.similar;
&reftitle.seealso;
SyncSharedMemory::write
SyncSharedMemory::read