What is the best practice for handling variable substitution within a string in PHP?

When handling variable substitution within a string in PHP, the best practice is to use double quotes around the string and then enclose the variable name within curly braces. This ensures that the variable is properly substituted within the string without any ambiguity.

$name = "John";
$message = "Hello, {$name}! Welcome to our website.";
echo $message;