note 18327 added to function.shm-attach

From: Date: Fri, 18 Jan 2002 13:36:04 +0000
Subject: note 18327 added to function.shm-attach
Groups: php.notes 
Request: Send a blank email to php-notes+get-25029@lists.php.net to get a copy of this message
The memsize needed for shared memory (tested on linux system) can be calculated with: For each varialbe you want to store: 24 Bytes + serialized var-size (see below) alligned by 4 Bytes + 16 Bytes For a update of a var with the same key, the memory for the old var will be needed extra. -- http://www.php.net/manual/en/function.shm-attach.php http://master.php.net/manage/user-notes.php?action=edit+18327 http://master.php.net/manage/user-notes.php?action=delete+18327 http://master.php.net/manage/user-notes.php?action=reject+18327

« previous php.notes (#25029) next »