Doc #76881 [Ver->Csd]: shmop_read() with $count = 0 returns whole segment
| From: | cmb@php.net | Date: | Fri, 14 Sep 2018 11:25:44 +0000 |
| Subject: | Doc #76881 [Ver->Csd]: shmop_read() with $count = 0 returns whole segment | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15994@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76881&edit=1
ID: 76881
Updated by: cmb@php.net
Reported by: pavel dot krush at gmail dot com
Summary: shmop_read() with $count = 0 returns whole segment
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Unknown/Other Function
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2018-09-14 11:24:59] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345632
Log: Fix #76881: shmop_read() with $count = 0 returns whole segment
------------------------------------------------------------------------
[2018-09-14 10:05:52] requinix@php.net
That is correct.
------------------------------------------------------------------------
[2018-09-14 09:55:25] pavel dot krush at gmail dot com
Description:
------------
When calling
shmop_read($shmId, $offset, 0);
it works like
shmop_read($shmId, $offset, shmop_size($shmId) - $offset);
And there is no information about that behaviour in the docs
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76881&edit=1