note 126118 added to language.variables.basics
| From: | anisgazig at gmail dot com | Date: | Sat, 29 May 2021 04:47:58 +0000 |
| Subject: | note 126118 added to language.variables.basics | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216442@lists.php.net to get a copy of this message | ||
special vsariable $this can not be assign but indirect assign was possible preior to 7.1.0
$bd = "this";
$$bd = "Bangladesh";
echo $this;//Bangladesh
but from 7.1.0 it causes fatal error
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 103.120.33.26)
----
Manual Page -- https://php.net/manual/en/language.variables.basics.php
Edit -- https://main.php.net/note/edit/126118
Del: integrated -- https://main.php.net/note/delete/126118/integrated
Del: useless -- https://main.php.net/note/delete/126118/useless
Del: bad code -- https://main.php.net/note/delete/126118/bad+code
Del: spam -- https://main.php.net/note/delete/126118/spam
Del: non-english -- https://main.php.net/note/delete/126118/non-english
Del: in docs -- https://main.php.net/note/delete/126118/in+docs
Del: other reasons-- https://main.php.net/note/delete/126118
Reject -- https://main.php.net/note/reject/126118
Search -- https://main.php.net/manage/user-notes.php