Well wrapping variables in strings with curly brackets has been my coding style since more than a year ago, but lately someone said it was bad. I have no idea why though, can anyone of you please explain to me about this?
Here is a sample code of a string I code in PHP:
$content = "{$user1} has donated {$money} dollars to {$user2}.";
Sure you may as well leave out the curly brackets, but whats wrong with them? Please lemme know.