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 135 times
0

Quentin
- 914,110
- 126
- 1,211
- 1,335

CairoCoder
- 3,091
- 11
- 46
- 68
-
@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