PHP 4.0 Bug #8216: shm_attach does not seem to return actual shmid reported to the system.

From: Date: Tue, 12 Dec 2000 23:05:09 +0000
Subject: PHP 4.0 Bug #8216: shm_attach does not seem to return actual shmid reported to the system.
Groups: php.dev 
Request: Send a blank email to php-dev+get-41090@lists.php.net to get a copy of this message
From: kursat@ttnet.net.tr Operating system: Linux Mandrake 7.2 PHP version: 4.0.3pl1 PHP Bug Type: *Function Specific Bug description: shm_attach does not seem to return actual shmid reported to the system. consider this code <? $shmkey = 1234; $shmid = shm_attach($shmkey); print $shmid; $shm_remove($shmkey); ?> which outputs "1" everytime I call this fuction, which I expect the shmid reported to the system is printed. -- Edit Bug report at: http://bugs.php.net/?id=8216&edit=1

« previous php.dev (#41090) next »