|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6240 is_reference()
Submitted: 2000-08-18 12:21 UTC Modified: 2000-09-20 01:39 UTC
From: Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (18/08/2000) 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:
New email:
PHP Version: OS:


 [2000-08-18 12:21 UTC]
for debug only:
This has been discussed before with the result that there is a flag (is_ref I think) indicating that a variable is a reference. Well, there are currently some problems with references and it could be handy to have a function that check whether a variable is a reference.
eg. get_object_vars() then sorting out all references with is_reference() and display their names so that you?re able to kill the circular reference of them before displaying


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-20 01:39 UTC]
As was discussed on the list, is_ref is something very different, and it's not really possible to know if the variable "is reference" or not.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Dec 04 22:05:52 2022 UTC