Doc #68564 [Opn->Ver]: Apparent inconsistency in the page.

From: Date: Mon, 19 Jul 2021 15:54:35 +0000
Subject: Doc #68564 [Opn->Ver]: Apparent inconsistency in the page.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18972@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68564&edit=1 ID: 68564 Updated by: cmb@php.net Reported by: dominic_mayers at yahoo dot com Summary: Apparent inconsistency in the page. -Status: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: > Note that if "refcount" is 1, "is_ref" is always FALSE. Indeed, this is not correct. What the documentation likely wants to express is that references with refcount 1 are treated as if they're were no references. Previous Comments: ------------------------------------------------------------------------ [2014-12-08 02:38:09] dominic_mayers at yahoo dot com Description: ------------ --- From manual page: http://www.php.net/features.gc.refcounting-basics --- In the example 1, we have : Note that if "refcount" is 1, "is_ref" is always FALSE. What "always" means here is definitively not clear, because later in example 9 we have : 1 => (refcount=1, is_ref=1)=... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68564&edit=1

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