mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
242efce0dc
commit
e293d971f5
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue