php.net |  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: waldschrott@php.net 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: waldschrott@php.net
New email:
PHP Version: OS:

 

 [2000-08-18 12:21 UTC] waldschrott@php.net
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-20 01:39 UTC] stas@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 15:01:29 2024 UTC