Re: PHP 4.0 Bug #6240: is_reference()

From: Date: Fri, 18 Aug 2000 19:30:37 +0000
Subject: Re: PHP 4.0 Bug #6240: is_reference()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-29514@lists.php.net to get a copy of this message
AZ>> I've wanted to implement that a few months ago, but Andi explained that AZ>> it's not really possible to write that function properly. From what I understood from Andi, references in PHP are closer to hardlinks in Unix, than to pointers in C. Meaning, you cannot really spot them. is_ref flag you see there is more auxiliary internal flag and is has more meanings that just "is it reference or not". Maybe somebody should write an essay on this matter (in fact, I know only two mean who could, but I'm not sure they will have time to do it), because it is widely misunderstood. -- Stanislav Malyshev stas@zend.com +972-3-6139665 ext.106

« previous php.dev (#29514) next »