Clarify assignability of $this

Cf. <https://wiki.php.net/rfc/this_var>.

Integrates user notes 107080 and 123802.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350719 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-09-30 15:32:28 +00:00
parent 242efce0dc
commit e293d971f5

View file

@ -30,6 +30,9 @@
<simpara>
<literal>$this</literal> is a special variable that can't be
assigned.
Prior to PHP 7.1.0, indirect assignment (e.g. by using
<link linkend="language.variables.variable">variable variables</link>)
was possible.
</simpara>
</note>