What is the best practice for concatenating variables into strings in PHP?

When concatenating variables into strings in PHP, the best practice is to use double quotes ("") to enclose the string and then place the variables directly inside the string using curly braces {}. This method is cleaner and easier to read than using the dot (.) operator to concatenate strings and variables.

$name = "John";
$age = 30;

// Using double quotes and curly braces to concatenate variables into a string
$message = "Hello, my name is {$name} and I am {$age} years old.";

echo $message;