FAQ
I'm running into a BC break between 5.1 and 5.0 & 4.x. It seems like
some code in 5.1 to prevent re-assigning $this also prevents taking a
reference of $this. The following bug report for this situation was
marked Bogus:

http://bugs.php.net/bug.php?id=34358

However, I would like to ask for an explanation of why

$this->ref =& $this

is a valid usage while

$ref =& $this;

is not.

Thanks,

Jeff Moore

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedSep 17, '05 at 6:11p
activeSep 17, '05 at 6:11p
posts1
users1
websitephp.net

1 user in discussion

Jeff Moore: 1 post

People

Translate

site design / logo © 2022 Grokbase