Doc #76881 [Opn->Ver]: shmop_read() with $count = 0 returns whole segment

From: Date: Fri, 14 Sep 2018 10:05:52 +0000
Subject: Doc #76881 [Opn->Ver]: shmop_read() with $count = 0 returns whole segment
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15992@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: requinix@php.net Reported by: pavel dot krush at gmail dot com Summary: shmop_read() with $count = 0 returns whole segment -Status: Open +Status: Verified Type: Documentation Problem -Package: Documentation problem +Package: Unknown/Other Function PHP Version: Irrelevant Block user comment: N Private report: N New Comment: That is correct. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#15992) next »