|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68564 Apparent inconsistency in the page.
Submitted: 2014-12-08 02:38 UTC Modified: 2021-07-19 15:54 UTC
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: dominic_mayers at yahoo dot com Assigned:
Status: Verified Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dominic_mayers at yahoo dot com
New email:
PHP Version: OS:


 [2014-12-08 02:38 UTC] dominic_mayers at yahoo dot com
From manual page:
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)=...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-19 15:54 UTC]
-Status: Open +Status: Verified
 [2021-07-19 15:54 UTC]
> 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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jul 29 03:01:28 2021 UTC