Re: PHP 4.0 Bug #6240: is_reference()
| From: | Andrei Zmievski | Date: | Fri, 18 Aug 2000 16:36:58 +0000 |
| Subject: | Re: PHP 4.0 Bug #6240: is_reference() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29427@lists.php.net to get a copy of this message | ||
On Fri, 18 Aug 2000, waldschrott@php.net wrote:
> From: waldschrott@php.net
> Operating system: *
> PHP version: 4.0 Latest CVS (18/08/2000)
> PHP Bug Type: Feature/Change Request
> Bug description: is_reference()
>
> 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
I've wanted to implement that a few months ago, but Andi explained that
it's not really possible to write that function properly.
-Andrei
* "Lack of planning on your part doesn't consitute an emergency on my part." *