Jump to content

What does {$variable} do?


E_Leeder

Recommended Posts

Simple question I know, but suprisngly hard to google for because {} is used for so much more in php, like if, foreach, etc. In the code I read it in it looked like it was evaluating the variable and then turning it into plain text to then be interpreted as-is in the script... but I was confident in this assessment.

Link to comment
https://forums.phpfreaks.com/topic/289044-what-does-variable-do/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.