I have used PHP for a long time, but I just saw something like,
${ }
To be precise, I saw this in a PHP Mongo page:
$m = new Mongo("mongodb://${username}:${password}@host");
So, what does ${ }
do? It is quite hard to search with Google or in the PHP documentation for characters like $
, {
and }
.
${ }
(dollar sign curly bracket) is known as Simple syntax.