Meaning of Curly Braces in PHP

What is the meaning of curly braces in PHP?

In PHP curly braces are used to explicitly indicate the end of a string.

for example let’s say you have this:

$computer = ‘computer’;

if i write

echo “There are 10 $computers in the room”;

The parser will tell that it does not recognize $computers.

Notice: Undefined variable …

however the parser will be very happy with the following:

echo "There are 10 {$computer}s in the room";

Reference

http://www.php.net/manual/en/language.types.string.php