|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-30 10:16 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 16:00:01 2025 UTC |
Description: ------------ The SHM id returned by shm_attach will produce an error when used with shm_remove ("PHP Warning: shm_remove(): The parameter is not a valid shm_identifier in /clustershare/cluster/shm.php on line 15 "). It CAN be used to detach, though. Reproduce code: --------------- // The key used was returned from a call to ftok(), but was placed here staticly for testing. $id = shm_attach(1360651186, 20000); shm_detach($id); shm_remove($id); Expected result: ---------------- No error message. Actual result: -------------- Produces only the specified error message.