Свойство | Type | Description | |
---|---|---|---|
$client_count_key | string | shared memory ipc key | |
$shm | resource | holds shared memory resource | |
$size | integer | memory size |
Méthode | Description | |
---|---|---|
__construct ( integer $size = 33554432, string $file = __FILE__ ) | ||
__wakeup ( ) | init when wakeup | |
attach ( string $file = __FILE__ ) | connect shared memory | |
delete ( $key ) : boolean | delete var | |
dettach ( ) : boolean | ||
get ( $key, null $default = null ) : boolean | mixed | get var | |
has ( $key ) : boolean | has var ? | |
remove ( ) : boolean | remove shared memory. | |
set ( $key, $value ) : boolean | set var | |
shm_key ( $val ) : mixed | generate shm key |
public __construct ( integer $size = 33554432, string $file = __FILE__ ) | ||
$size | integer | memory size |
$file | string |
protected string $client_count_key | ||
Résultat | string |