ID: 9032 Updated by: swm Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Having committed a fix to CVS, PHP now works according to the documentation. Previous Comments: --------------------------------------------------------------------------- [2001-01-31 10:15:04] [EMAIL PROTECTED] We are having problems using shm functions. Taking a look at sysvshm.c, it seems that shm_remove take as argument **key** and not **shm_identifier** as documented (even on the snapshot documentation). Some tests show the same results. Here follows the code to test it: <?php $key = 5; $shm_identifier = shm_attach($key); shm_remove($shm_identifier); $key = 6; $shm_identifier = shm_attach($key); shm_remove($shm_identifier); $key = 7; $shm_identifier = shm_attach($key); shm_remove($shm_identifier); echo "Many warnings appeared above<br>"; shm_remove(5); shm_remove(6); shm_remove(7); echo "No warnings now<br>"; ?> Regards, Claudio Neves --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9032&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]