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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
27 - 12 = ?
Subscribe to this entry?

 
 [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: Fri May 03 20:01:31 2024 UTC