I would like to know what the advantage of using curly braces is in the following context:
$world["foo"] = "Foo World!";
echo "Hello, {$world["foo"]}.
";
is over the following:
$world["foo"] = "Foo World!";
echo "Hello, $world["foo"].
";
In particular, how is it that the braces resolve any possible ambiguity in this case (or similar cases)?