I have seen some code in PHP use this expression ${variable}, so; what is this? and when to use it? and what is the difference between ${var} and {$var} ?
Asked
Active
Viewed 121 times
0
Quentin
- 857,932
- 118
- 1,152
- 1,264
CairoCoder
- 2,879
- 11
- 43
- 63
-
@Rafael, Yes I am pretty sure. – CairoCoder Aug 28 '18 at 12:07
-
I deleted it because I couln't edit on my connection. I remember seeing it now but only inside strings. I think the example on the refered answer is quite elaborated though. (I knew some of the cases but not that many) – Rafael Aug 28 '18 at 12:09