What is the best practice for assigning a variable name based on another variable in PHP?

When assigning a variable name based on another variable in PHP, it is best practice to concatenate the variable names to create a new variable. This ensures that the new variable name is dynamic and based on the value of the existing variable.

$baseVariable = 'hello';
$newVariable = $baseVariable . '_world';
echo $newVariable; // Output: hello_world