PHP Interpolating With Curly Braces – String Function

<?
$preparation = 'Braise';
$meat = 'Beef';
print "{$preparation} and $meat";
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.