|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-04-04 09:17 UTC] requinix@php.net
-Package: PHP Language Specification
+Package: Unknown/Other Function
[2016-04-04 11:24 UTC] kakkau at grr dot la
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Description: ------------ 1. Run shmop_open with $key=0 and $flags="n" multiple times. 2. Wonder about a missing warning when using the same key for creation. 3. Check the output of ipcs -m. There should show up multiple segments now. For other integers <> 0 shmop_open works as expected Test script: --------------- <?php $res = shmop_open(0,"n",0600,1024); $res = shmop_open(0,"n",0600,1024); ?> Expected result: ---------------- At least a warning should be thrown w/o creating another segment. Warning: shmop_open(): unable to attach or create shared memory segment in php shell code on line 1 Call Stack: 10.9282 120780 1. {main}() php shell code:0 10.9282 120920 2. shmop_open() php shell code:1