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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 21:01:35 2025 UTC