Depending on what you are accessing, it will be called ...
- A
variable variable - A
variable property - A
variable function
It is worth noting that curly braces are needed only when you need to eliminate the ambiguity of the expression (remember that the string you use can itself be stored in a variable!)
Etc. This is described in the PHP manual for variable variables .
source
share